Skip to content

Add documentation for initializing the store value from SSR #84

@bholmesdev

Description

@bholmesdev

We include documentation today for how to create stores in server environments as well as server component frameworks like Next.js. However, we don't explicitly call out how to initialize the store value if that initial value comes from the server.

Zustand's docs can be used as a guide: https://zustand.docs.pmnd.rs/guides/initialize-state-with-props

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions