DOM operations and rendering for Leptos.
This crate mostly includes utilities and types used by the templating system, and utility
functions to make it easier for you to interact with the DOM, including with events.
It also includes functions to support rendering HTML to strings, which is the server-side
equivalent of DOM operations.
Note that the types [Element] and [Node] are type aliases, handled differently depending on the
target:
- Browser (features `csr` and `hydrate`): they alias [web_sys::Element] and [web_sys::Node],
since the renderer works directly with actual DOM nodes.
- Server: they both alias [String], since the templating system directly generates HTML strings.