TypeError: Cannot read properties of undefined (reading 'when')
Has anyone seen this error before?
Getting this error coming from the Switch component internals
Some extra details:
- There's no other children under the Switch apart from 4 Match components
- The one that causes the error looks like this:
- This error is only reproducible when solid-js is build for production and not in dev server mode
- I couldn't make a smaller reproducible version, could there be something outside of the Switch intefering with the rendering of the children? 🤔
I know it's a long shot to get an answer for this without a reproducible example but I'm hoping someone's seen this before an might have an idea, thank you 🙏
0 Replies