Type Definition perseus::PerseusNodeType
source · pub type PerseusNodeType = SsrNode;
Expand description
An alias for DomNode
, HydrateNode
, or SsrNode
, depending on the
hydrate
feature flag and compilation target.
You should not use this in your return types (e.g.
View<PerseusNodeType>
), there you should use a G: Html
generic.
This is intended for lazy_static!
s and the like, for capsules. See
the book and capsule examples for further details.