Skip to content

[Bug?]: return json() in action is not SSR ready #1976

@vincehi

Description

@vincehi

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

When an action returns json, it breaks compatibility with server-side rendering in cases where you have a classic form without javascript.

Expected behavior 🤔

I expect to remain on the same page if my action returns a JSON constructed with the SolidJSRouter method.

Steps to reproduce 🕹

Steps:

Context 🔦

I simply want it to be fully compatible without JavaScript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions