advanced-react-patterns-ultrasimplified
advanced-react-patterns-ultrasimplified copied to clipboard
#10_2: State Reducer (with types)
What is this PR about? 🤔
Export internal reducer and type for more ease and flexibility on the user's side.
Changes 🎁
- [x] Exported internal reducer and type strings
Before/After 📸
https://advanced-react-patterns-ultrasimplified.netlify.com/state-reducers
Other comments 💬
- A quick look at the implementation shows the downside to this: the repetitive logic the user has to re-implement.
Next PR 👉https://github.com/ohansemmanuel/advanced-react-patterns-ultrasimplified/pull/14