Framework components
Framework components are components that are available in the Hydrogen framework.
Hydrogen includes the following framework components:
Component name | Component type | Description |
---|---|---|
Cookie | Server | The Cookie component helps you build your own custom cookie and session implementations. |
CookieSessionStorage | Server | The CookieSessionStorage component is the default session storage mechanism for Hydrogen. |
FileRoutes | Server | The FileRoutes component builds a set of default Hydrogen routes based on the output provided by Vite's import.meta.globEager method. |
FileSessionStorage | Server | The FileSessionStorage component persists session data to the file system. |
Link | Client | The Link component is used to navigate between routes. |
MemorySessionStorage | Server | The MemorySessionStorage component stores session data within Hydrogen runtime memory. |
Route | Server | The Route component is used to set up a route in Hydrogen that's independent of the file system. |
Router | Server | The Router component provides the context for routing in your Hydrogen app. |