Solid context doesnt work
Learning solid using docs and i use the docs example to create a context but for some reason this error appears, can someone help or give a sugestionon how i can fix?
mycode:
![](https://cdn.answeroverflow.com/1137900536461529189/image.png)
4 Replies
The variables for contexts are supposed to be lower case. Otherwise they are wrapped like normal components.
Should the extension be
tsx
?thank you very much for the help, everyone in the company is laughing a lot here for my mistake
A common mistake by me ;-;
Haha no PB 😅, you're welcome 😁