Crate sycamore_router[][src]

Expand description

The Sycamore Router.

Structs

A router integration that uses the HTML5 History API to keep the UI in sync with the URL.

A list of Segments.

The sycamore router component. This component expects to be used inside a browser environment. For server environments, see StaticRouter.

Props for Router.

A router that only renders once with the given route.

Props for StaticRouter.

Enums

Represents a capture of an URL segment or segments.

Represents an URL segment or segments.

Traits

A router integration provides the methods for adapting a router to a certain environment (e.g. history API).

Trait that is implemented for enums that can match routes.

Fallible conversion between a param capture into a value.

Fallible conversion between a list of param captures into a value.

Functions

Navigates to the specified url. The url should have the same origin as the app.

Derive Macros

The Route procedural macro.