I hacked together a small POC framework / boilerplate tonight which I’d like to share with you. But let’s first take a look at why and how this framework was born out of proven real world concepts and architecture.
Take for example Redux quite a while ago. Immutable states and centralized state management had such an impact that React added a useReducer
hook to the core.
Ever since useReducer
has been available I haven’t really found a need for Redux anymore. Pure reducers can be used in a similar fashion to Redux and Sagas can easily be implemented with useEffect
. However; a few principles stuck with me that simply made life easier because it just works.