You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is a regression from a recent change in the router. Thanks for reporting.
EDIT: No I was wrong.. a fix for this(solidjs/solid-start#1552) actually broke the proper behavior. That issue needs to be fixed a different way.
EDIT 2: It's both. Solid Router update to 0.13.4 broke something as well. It appears that this pull request although it was merged earlier didn't come out until 0.13.4 and is the cause of the break: #405
Describe the bug
When user submits a form in NOJS mode, SolidStart sets a "flash=" cookie and redirects back to the same url:
During SSR it executes initFromFlash logic and extracts submission info from cookie:
solid-router/src/routing.ts
Line 341 in 10b7d8c
But unfortunately it does not become available in useSubmission hook:
solid-router/src/data/action.ts
Line 27 in 10b7d8c
Probably something is broken with reactivity or context on server-side...
Your Example Website or App
Please update demo link to fork using SolidStart 1.0
Steps to Reproduce the Bug or Issue
src/routes/demo.tsx
:Expected behavior
Last submission data is available during SSR
Screenshots or Videos
No response
Platform
Additional context
Link to the thread in Discord with additional details, see also solidjs/solid-start#1552
The text was updated successfully, but these errors were encountered: