Is it possible to use the new React Context API and hooks to completely replace Redux? Is it worth it? Does it yield the same results and is the so...
For further actions, you may consider blocking this person and/or reporting abuse
Great article. Got a nice refresh of context API. Thanks
Thanks Arman
Thank you for the article! This is a new fresh look at old problems and an option to solve them.
Glad you found it useful Daniil.
awesome guide! love it!
just FYI, when working with providers make sure the child is a pure component (if its functional that means it's wrapped in React.memo)
Hi,
thanks for your comment, could you please elaborate on that?
Thanks!
Let me borrow some credibility
That makes sense now, thanks!
Great article!
The downside I see replacing Redux is you will lose the debug tools that comes with Redux which are very handy, but for small-medium projects maybe it's the best solution.
Thanks!
You're right, to some extent you can debug React Hooks and see what the state looks like, but you don't get the nice actions debug/log and the timeline (not unless a bit of development).
I guess it can be ok with small projects as you say, with bigger ones the number of actions and interactions may require better debugging.