Skip to main content

Crate momenta_dom

Crate momenta_dom 

Source
Expand description

Momenta DOM - DOM rendering and manipulation for the Momenta framework

This crate provides DOM rendering capabilities for Momenta, including:

  • WASM-based rendering for web browsers
  • Element caching for efficient updates
  • Diff and patch functionality for reactive updates
  • Event handler attachment
  • HTML element definitions

Modules§

elements
nodes

Macros§

derive_elements
paste

Functions§

component
Renders a component with the given props
hydrate_root
log
mount_to_body
Mounts the root component to the body element
read_default_hydration_data
read_hydration_data
render_root
Renders the root component to the specified selector