Expand description
§Dioxus Native Core
Website | Guides | API Docs | Chat
§Overview
dioxus-native-core
provides several helpful utilities for lazily resolving computed values of the Dioxus VirtualDom to be used in conjunction with a native rendering engine.
The main “value-add” of this crate over implementing your native tree is that this tree is incrementally recomputed using the Dioxus VirtualDom’s edit stream. Only parts of the tree that rely on each other will be redrawn - all else will be ignored.
§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.
Modules§
- custom_
element - A custom element is a controlled element that renders to a shadow DOM. This allows you to create elements that act like widgets without relying on a specific framework.
- exports
- Important dependencies that are used by the rest of the library Feel free to just add the dependencies in your own Crates.toml
- node
- Items related to Nodes in the RealDom
- node_
ref - Utilities that provide limited access to nodes
- node_
watcher - Helpers for watching for changes in the DOM tree.
- prelude
- A prelude of commonly used items
- real_
dom - A Dom that can sync with the VirtualDom mutations intended for use in lazy renderers.
- tree
- A tree of nodes intigated with shipyard
- utils
- Utilities for renders using the RealDOM
Structs§
- NodeId
- Handle to an entity.
Type Aliases§
- FxDash
Map - A map that can be sent between threads
- FxDash
Set - A set that can be sent between threads
- Send
AnyMap - A map of types that can be sent between threads