Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Redux is also just an abstraction on top of Context

No, this is a very common but incorrect misunderstanding of how Redux works.

It's true that React-Redux does use context internally... but only to pass down the Redux store instance, _not_ the current state value.

Also, because Redux itself is separate from React, there's a lot of things you can do with it that are completely different than what Context does. _One_ bit of overlap is that both can be used to access state across the component tree, but Redux does much more than that.

See my post here for more details:

https://blog.isquaredsoftware.com/2021/01/context-redux-diff...



I posted that same article above, I'm not sure if they didn't read it the first time that they'll read it the second time, lol

By the way, thanks for your hard work on Redux, appreciate it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: