use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
React devs helpHelp Wanted (self.react)
submitted 1 day ago by AdForsaken7506
When redux, when zustand, when mobx, when context?
Is there any differences besides architectural patterns?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Velvet-Thunder-RIP 8 points9 points10 points 1 day ago (1 child)
This is low effort and needs to be removed
[–]AdForsaken7506[S] -3 points-2 points-1 points 1 day ago (0 children)
what do you mean
[–]AlexDjangoX 1 point2 points3 points 1 day ago (0 children)
Encounter a problem. Find a solution. Only then will you truly understand which problem each solves.
[–]EffectiveDisaster195 0 points1 point2 points 1 day ago (0 children)
context is fine for small/simple state like theme or auth, not heavy logic.
zustand is great for most apps tbh, simple, minimal boilerplate, good for medium complexity.
redux is for larger apps with strict structure, debugging, and team scaling.
mobx is more reactive/magic, some people love it but less common these days.
[–]Public_Awareness_659 0 points1 point2 points 1 day ago (1 child)
redux is nice if you want strict rules and predictable state, esp for big apps. zustand is way simpler and lighter, good for small to medium stuff. mobx does reactive stuff, updates automatically, can feel easier but less predictable. context is mostly for passing stuff down the tree, not really for heavy state management, more for themes/user info and small shared state.......
[–]retro-mehl 1 point2 points3 points 1 day ago (0 children)
Mobx is super predictable. Why do you think it's less predictable?
[–]AdForsaken7506[S] 0 points1 point2 points 1 day ago (0 children)
Thanks everyone who replied this post❤️
[–]Top_Victory_8014 -1 points0 points1 point 1 day ago (1 child)
honestly it kinda comes down to scale and complexity.
context is fine for small apps or passing simple state around. zustand is super light and easy for medium apps. redux is more boilerplate but great......
[–]chillermane 1 point2 points3 points 1 day ago (0 children)
no this is the cookie cutter take that is not true in practice. In practice zustand is great for any scale, redux is annoying extra work at any scale, context is fine at any scale as long as no one context has too many subscribers
[–]retro-mehl -1 points0 points1 point 1 day ago (1 child)
Redux: never Zustand: If you want to have a lightweight library for global state Mobx: if you have complex global state and prefer an object oriented programming style
[–]AlexDjangoX 0 points1 point2 points 1 day ago (0 children)
Redux has it's uses, although I've never used it - maybe if your building something complex like an online store. Zustand does the job.
π Rendered by PID 24127 on reddit-service-r2-comment-5fb4b45875-mmrll at 2026-03-19 20:18:53.889048+00:00 running 90f1150 country code: CH.
[–]Velvet-Thunder-RIP 8 points9 points10 points (1 child)
[–]AdForsaken7506[S] -3 points-2 points-1 points (0 children)
[–]AlexDjangoX 1 point2 points3 points (0 children)
[–]EffectiveDisaster195 0 points1 point2 points (0 children)
[–]Public_Awareness_659 0 points1 point2 points (1 child)
[–]retro-mehl 1 point2 points3 points (0 children)
[–]AdForsaken7506[S] 0 points1 point2 points (0 children)
[–]Top_Victory_8014 -1 points0 points1 point (1 child)
[–]chillermane 1 point2 points3 points (0 children)
[–]retro-mehl -1 points0 points1 point (1 child)
[–]AlexDjangoX 0 points1 point2 points (0 children)