Machine learning/ software engineer ·
Migrated
from
ReduxRedux
to
ReactReact
at
()

Originally, we were going to use Redux and redux-observable as our React state management+middleware solutions. However, we have decided that this may be overkill, because our global state is minimal, and the state is not shared much between pages. We will instead use the built in React Context functionality to manage state.

READ LESS
11 upvotes·2 comments·12.8K views
Pouya Ataei
Pouya Ataei
·
March 8th 2021 at 12:48AM

smart decision! if later on you guys decided you want to handle the global state better, apollo client and client side schemas is the way to go!

·
Reply
Ezra Fayet
Ezra Fayet
·
March 13th 2021 at 5:51PM

Great move, even the creator of redux advices to go for useContext in most regular cases. If you look for another replacement I recommend checking recoil. It is also from the facebook team (I think ?) and it is said to store states very efficiently !

·
Reply
Avatar of Julie Quintero

Julie Quintero

Machine learning/ software engineer