Codementor Events

Moving beyond Redux...

Published Aug 13, 2020

Redux came along for a reason (re: avoid props-drilling mostly) but has long outlived its value and frankly is a bit "abused" in its usage. Too many people just keep following a Pattern (the Redux pattern) and dont think about other and better ways to solve "data sharing that cause updates".

Enter: useContext() and useReducer() (and more) that essentially spells the end of Redux for many people and projects. Much simpler, much more direct, much less code-templating/typing. Share data objects more directly (rather than share an entire 'store' to your entire application!).

Feel free to write or ask more if interested. This is clearly the direction and many others have written on this topic as well.

Discover and read more posts from Chris Stakutis
get started
post commentsBe the first to share your opinion
Show more replies