Expand description
Mounting, rendering, and updating a component.
The order is upstream’s, and it is what the browser depends on: a component boots, initializes, mounts, boots again, renders, dehydrates, and is destroyed; an update verifies the snapshot, rebuilds the component, applies the properties, runs the calls, then renders again unless an action or a redirect said not to.
Structs§
Functions§
- apply_
update - Applies one property update, walking a dot path and rejecting one that is too deep.
- download_
of - Reads the download an action asked for, which the response sends instead of markup.
- mount
- Mounts the component
name, and renders it to the markup the page embeds. - mount_
child - Mounts a component that another component’s template renders, and records it on its parent.
- render_
view - Renders a component’s view, whether it names a template or carries its own source.
- should_
skip - Whether an update can be answered with
skipinstead of a render. - update
- Updates a component from its verified snapshot: properties first, then the calls, then a render unless an action or a redirect said to skip it.