Fix Outdated README.md (#2147)

* fix: outdated readme

* Fix missing readme

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Miles MurgawandJonathan Kelley authored and GitHub committed 2024-03-26 19:17:02 -07:00
1 parent dadbab5d72
commit 3cbe6ff96e
26 files changed
+92 -356

No files matched your search

+9 -10
View File
@@ -15,27 +15,26 @@
[discord-url]: https://discord.gg/XgGxMSkvUM
[Website](https://dioxuslabs.com) |
[Guides](https://dioxuslabs.com/learn/0.4/) |
[Guides](https://dioxuslabs.com/learn/0.5/) |
[API Docs](https://docs.rs/dioxus-hooks/latest/dioxus_hooks) |
[Chat](https://discord.gg/XgGxMSkvUM)
## Overview
`dioxus-hooks` includes some basic useful hooks for dioxus:
`dioxus-hooks` includes some basic useful hooks for dioxus such as:
- use_state
- use_ref
- use_future
- use_signal
- use_effect
- use_resource
- use_memo
- use_coroutine
- use_callback
Unlike React, none of these hooks are foundational since they all build off the primitive `cx.use_hook`.
This crate also provides a few helpful macros to get around some Rust lifetime management issues in async.
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![]`
- `use_future()`
- `use_callback!()`
## Contributing