dioxus/packages/hooks
Miles Murgaw 3cbe6ff96e
Fix Outdated README.md (#2147)
* fix: outdated readme

* Fix missing readme

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-03-26 19:17:02 -07:00
..
src switch to use_reactive 2024-03-15 11:54:09 -05:00
tests Fix early drop of eventhandlers (#2126) 2024-03-22 14:37:02 -07: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 Fix Outdated README.md (#2147) 2024-03-26 19:17:02 -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.

This crate also provides a helpful macro to get around some Rust lifetime management issues in async:

  • to_owned![]

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.