dioxus/packages/hooks
Evan Almloff 5290b658fd
Fix effects triggered from async tasks; improve work scheduling docs (#2370)
* outline work scheduling

* move scheduling code from dirty_scope to scheduler

* introduce queue_effect

* Run effects after all tasks are polled if there are no components rerendered

* add a new test for async effects
2024-05-04 15:30:13 +01:00
..
src Fix effects triggered from async tasks; improve work scheduling docs (#2370) 2024-05-04 15:30:13 +01:00
tests Fix effects triggered from async tasks; improve work scheduling docs (#2370) 2024-05-04 15:30:13 +01:00
Cargo.toml implement readable and callable for all structs in the hooks crate 2024-03-08 11:17:28 -06:00
CHANGELOG.md feat: add changelogs 2022-01-29 10:17:14 -05:00
README.md Remove some old docs, cleanup some readmes 2024-03-27 17:28:30 -07:00

Dioxus Hooks

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

dioxus-hooks includes some basic useful hooks for dioxus such as:

  • use_signal
  • use_effect
  • use_resource
  • use_memo
  • use_coroutine

Unlike React, none of these hooks are foundational since they all build off the primitive use_hook.

Contributing

  • Report issues on our issue tracker.
  • Join the discord and ask questions!

License

This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you shall be licensed as MIT without any additional terms or conditions.