-
Notifications
You must be signed in to change notification settings - Fork 400
Closed
Labels
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior π―
Sometimes session.data.userId is undefined when expected to be defined.
Expected behavior π€
Expecting session.data to be consistent e.g. logged in user always has data.userId.
Steps to reproduce πΉ
I've made a repository based off the with-auth example/template that reproduces the bug. I've just added a "create project" function and "list project" function, the latter is what causes the issue.
And I've got a video in the readme with a demonstration.
https://github.com/metruzanca/solidstart-getSession-bug-repro
Context π¦
Trying to build my next app with solidstart beta 2, but this issue is making it impossible to reliably get any data from the server.
Had good success with beta 1 and wanted to use the latest. I would like to keep this project using beta 2 and not have to fall back to v1.
Your environment π
Tested on a fresh Ubuntu LTS 20 desktop with latest node v20.10 and pnpm v8.13, https://github.com/metruzanca/solidstart-getSession-bug-repro/blob/main/package.jsonmadaxen86