Expand description
A prelude of commonly used items in static generation apps.
Modules§
- server_
fn - Server Functions
Enums§
- Server
FnError - Type for errors that can occur when using server functions.
Traits§
- _
- Defines a function that runs only on the server, but can be called from the server or the client.
Functions§
- use_
server_ cached - This allows you to send data from the server to the client. The data is serialized into the HTML on the server and hydrated on the client.
- use_
server_ future - Runs a future with a manual list of dependencies and returns a resource with the result if the future is finished or a suspended error if it is still running.
Attribute Macros§
- server
- Declares that a function is a server function.
This means that its body will only run on the server, i.e., when the
ssr
feature is enabled on this crate.