use_document
SSR safe document()
.
This returns just a new-type wrapper around Option<Document>
.
Calling this amounts to None
on the server and Some(Document)
on the client.
It provides some convenient methods for working with the document like body()
.
Usage
Feature
This function is only available if the crate feature
use_document
is enabled