Skip to content

Add SSR support #2219

Open
Open
@KyleAMathews

Description

@KyleAMathews

The basic pattern is that when server rendering, the resolved shapes' data is serialized to the HTML as JSON and then hydrated into shapes again when the client is setup.

We can modify getShape in the client so that when it creates a new shape, it first looks to the HTML for serialized shape data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions