You could just use a real state management library instead of context.
For example?
Recoil?
So you don't use react router and have a BrowserRouter in your code? Or if you use CSS in JS solution, you don't have a kind of ThemeProvider? Or you put both in a recoil state? Ah and you still need the RecoilRoot, a provider.
I could see what you mean, but no we use riot router, donβt do css in js, and use cerebral js, so we have maybe one provider nested out app.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You could just use a real state management library instead of context.
For example?
Recoil?
So you don't use react router and have a BrowserRouter in your code? Or if you use CSS in JS solution, you don't have a kind of ThemeProvider? Or you put both in a recoil state?
Ah and you still need the RecoilRoot, a provider.
I could see what you mean, but no we use riot router, donβt do css in js, and use cerebral js, so we have maybe one provider nested out app.