Skip to content

Use transport for pushState/replaceState serialization #14128

Description

@GauBen

Describe the problem

Hi!

The pushState function from $app/navigation does not allow custom objects

Describe the proposed solution

Reuse the transport hook + devalue to serialize and parse state, similar to what SvelteKit does for network boundaries

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-decisionNot sure if we want to do this yet, also design work needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions