dioxus_static_site_generation

Module prelude

Source
Expand description

A prelude of commonly used items in static generation apps.

Modules§

Enums§

  • 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§

  • 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.
  • 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§

  • 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.