dioxuslab/packages/hooks
Brian Donovan 8f93ff3747
docs(hooks): fix typos (#1299)
I'm not totally sure how the sentence was supposed to read, but removing "state" from "It state" seemed to work. Also, "it's" is "it is" and not possessive, so I fixed that.
2023-08-04 15:13:02 -05:00
..
src docs(hooks): fix typos (#1299) 2023-08-04 15:13:02 -05:00
CHANGELOG.md feat: add changelogs 2022-01-29 10:17:14 -05:00
Cargo.toml Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
README.md add version to docs links in readmes 2023-02-18 18:38:30 -06:00

README.md

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:

  • use_state
  • use_ref
  • use_future
  • 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.

  • to_owned![]
  • use_future!()
  • use_callback!()

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.