Again, for some app state u go still use a global state manager 🤷♂️
how u want manage dark mode toggle with rtk🌚
Guy I de tell u say tansack can be use to replace, rtk,zustand. N context
I de do dark mode without rtk na...but with zustand
For instance in one of my react projects I have some preference like theme and layout.
I use context to propagate those
no be still state manager😂
context oo, zustand oo recoil oo no be still state manager?
wetin fit cause this thing, the guy dey use expo
Nothing actually stops you from using it to propagate non server data. Only your fetch function will determine that
Mk him upgrade...that's like versions down
yes, of course. but I won’t recommend it.
But as long as your fetch function returns the proper data you can access it anywhere using se key.
Thats what im saying, i use it to handle state wide network data, but not app data
App data ooo...network data ooo...e go run ..watch that video I sent u the link to first
Lol. I prefer to stick with as much react as possible by using context.
People are building a lot while we just keep using 😫
and we are very loud about using things built by our mates
There are levels to this progrming of a thing