-
-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mergeProps fails with SSR #1875
Comments
What's the error? The reproduction just shows code but no error message. If I can get a working reproduction, maybe Stackblitz or at least a posting of what the error message is. |
I tried to create an example on Stackblitz, but NodeJS 18 is not supported yet (stackblitz/webcontainer-core#560). You can download it (https://stackblitz.com/edit/solid-ssr-vite-c8xxyw?file=src%2FApp.tsx) and run it locally. The error is:
And the problem is here. |
I see the server side merge props is much "simpler" and isn't handling undefined case properly. It must try to read it through undefined.. |
Describe the bug
This code throws an exception only with SSR enabled:
Your Example Website or App
https://playground.solidjs.com/anonymous/d1fa8058-4207-41c8-98fe-591be0d25909
Steps to Reproduce the Bug or Issue
Expected behavior
No error.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: