Expand description
This module contains the document providers for the fullstack platform.
Re-exports§
pub use server::ServerDocument;
Modules§
- server
- On the server, we collect any elements that should be rendered into the head in the first frame of SSR. After the first frame, we have already sent down the head, so we can’t modify it in place. The web client will hydrate the head with the correct contents once it loads.
- web
- On the client, we use the
WebDocument
implementation to render the head for any elements that were not rendered on the server.