Where Do I Put Providers In SolidStart?
In a SolidJS project you name your providers in index.tsx by wrapping the <App /> component.
render(() => (
<Router>
<FirebaseAuthProvider>
<App />
</FirebaseAuthProvider>
</Router>), root!);
How would I do the same thing in SolidStart?
Thanks,
Chris4 Replies
at the
root.tsx
fileI've tried every configuration I can imagine and I can't get it to work. Would you mind showing me a code snippet?
I mean in the root.tsx where the html markup resides, you can ideally add the provider you want there
Ok. Thank you. Let me experiment with this. I'll see if I can get it working.
You are a savior! Thanks again. I tried 15 combinations that looked similar to your example but none of them worked. You nailed it.