Open W01fw00d opened 4 years ago
https://blog.logrocket.com/use-hooks-and-context-not-react-and-redux/ https://blog.axlight.com/posts/four-patterns-for-global-state-with-react-hooks-context-or-redux/ https://github.com/dai-shi/react-hooks-global-state
vs
https://www.simplethread.com/cant-replace-redux-with-hooks/ https://medium.com/javascript-scene/do-react-hooks-replace-redux-210bab340672
Probably for this Example Apps purpouses, would be enough with the useReducer hook + the Context API vs Redux; we could avoid adding a new big dependency and a very complex new abstract layer.
Further reading: https://alligator.io/react/usereducer/ ; https://medium.com/javascript-scene/10-tips-for-better-redux-architecture-69250425af44
https://blog.logrocket.com/use-hooks-and-context-not-react-and-redux/ https://blog.axlight.com/posts/four-patterns-for-global-state-with-react-hooks-context-or-redux/ https://github.com/dai-shi/react-hooks-global-state
vs
https://www.simplethread.com/cant-replace-redux-with-hooks/ https://medium.com/javascript-scene/do-react-hooks-replace-redux-210bab340672