Crate dioxus_web

source ·
Expand description

Dioxus WebSys

§Overview


This crate implements a renderer of the Dioxus Virtual DOM for the web browser using WebSys. This web render for Dioxus is one of the more advanced renderers, supporting:

  • idle work
  • animations
  • jank-free rendering
  • controlled components
  • hydration
  • and more.

The actual implementation is farily thin, with the heavy lifting happening inside the Dioxus Core crate.

To purview the examples, check of the root Dioxus crate - the examples in this crate are mostly meant to provide validation of websys-specific features and not the general use of Dioxus.

Modules§

  • This module contains the launch function, which is the main entry point for dioxus web

Structs§

  • Configuration for the WebSys renderer for the Dioxus VirtualDOM.

Traits§

  • A extension trait for web-sys events that provides a way to get the event as a web-sys event.
  • Helper trait for WebFileEngine

Functions§

  • Runs the app as a future that can be scheduled around the main thread.