Skip to content

Use transport for pushState/replaceState serialization #14128

@GauBen

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

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions