Crate dioxus_native_core

Source
Expand description

§Dioxus Native Core

Crates.io MIT licensed Build Status Discord chat

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§

FxDashMap
A map that can be sent between threads
FxDashSet
A set that can be sent between threads
SendAnyMap
A map of types that can be sent between threads