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

  • 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.
  • Important dependencies that are used by the rest of the library Feel free to just add the dependencies in your own Crates.toml
  • Items related to Nodes in the RealDom
  • Utilities that provide limited access to nodes
  • Helpers for watching for changes in the DOM tree.
  • A prelude of commonly used items
  • A Dom that can sync with the VirtualDom mutations intended for use in lazy renderers.
  • A tree of nodes intigated with shipyard
  • Utilities for renders using the RealDOM

Structs

Type Aliases

  • A map that can be sent between threads
  • A set that can be sent between threads
  • A map of types that can be sent between threads