Describe the bug
When testing the new Solid 2.0 beta, I noticed that some browser APIs were being accessed in my async store, despite the ssrSource flag being set to 'client'.
I tried a minimal repro with console log and I can confirm this is the only primitive affected by this issue.
This only seems to happen on first load, navigating back doesn't re-trigger the server signals
Your Example Website or App
https://stackblitz.com/edit/solidjs-templates-27haqteg?file=src%2Froutes%2FHome.tsx
Steps to Reproduce the Bug or Issue
- Open the stackblitz URL.
- Logs should show after page load in the server console and in the client console.
- You should see the log
Log: "store" in server. No other primitive should log.
Expected behavior
I expected nothing to log on the server when the ssrSource is set to 'client'.
Screenshots or Videos
A showcase of the logs that appear on the repro
Platform
- OS: macOS
- Browser: Chrome
- Version: 150
Additional context
No response
Describe the bug
When testing the new Solid 2.0 beta, I noticed that some browser APIs were being accessed in my async store, despite the
ssrSourceflag being set to'client'.I tried a minimal repro with console log and I can confirm this is the only primitive affected by this issue.
This only seems to happen on first load, navigating back doesn't re-trigger the server signals
Your Example Website or App
https://stackblitz.com/edit/solidjs-templates-27haqteg?file=src%2Froutes%2FHome.tsx
Steps to Reproduce the Bug or Issue
Log: "store" in server. No other primitive should log.Expected behavior
I expected nothing to log on the server when the
ssrSourceis set to'client'.Screenshots or Videos
A showcase of the logs that appear on the repro
Platform
Additional context
No response