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
Run build:serve and go to localhost:8080/project/something
When running in dev mode the error doesn't happen at localhost:3000/project/something
Context 🔦
Just trying to use a Spinner component from my UI library along with solidjs and solid-start
That spinner component is in a DisplayResource which is a component that checks if the resource has loaded and then displays it
Also displays a spinner if the component hasn't loaded, However the error happens when there's a spinner in the DisplayResource and doesn't happen if there isn't, The error also only happens in production mode
Also there's a error overlay in production mode, I thought there wasn't supposed to be an error overlay in production mode, But whatever
Your environment 🌎
OS : Windows
Node : v20.7.0
The text was updated successfully, but these errors were encountered:
Duplicates
Latest version
Current behavior 😯
When using a
Spinner
component inside aDisplayResource
component, WhereDisplayResource
displays a spinner if a resource hasn't loaded yetThe error occurs only in production mode
The errored line is at https://github.com/wakaztahir/solid-start-production-bug/blob/fb31b2de270f191081aab90ab86e16134f8f3f6c/src/solid/components/Utils.tsx#L56
Expected behavior 🤔
There should be no error in production mode
Steps to reproduce 🕹
Steps:
When running in dev mode the error doesn't happen at localhost:3000/project/something
Context 🔦
Just trying to use a Spinner component from my UI library along with solidjs and solid-start
That spinner component is in a DisplayResource which is a component that checks if the resource has loaded and then displays it
Also displays a spinner if the component hasn't loaded, However the error happens when there's a spinner in the DisplayResource and doesn't happen if there isn't, The error also only happens in production mode
Also there's a error overlay in production mode, I thought there wasn't supposed to be an error overlay in production mode, But whatever
Your environment 🌎
The text was updated successfully, but these errors were encountered: