advanced-react-patterns-ultrasimplified icon indicating copy to clipboard operation
advanced-react-patterns-ultrasimplified copied to clipboard

#10_2: State Reducer (with types)

Open ohansemmanuel opened this issue 4 years ago • 0 comments

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

ohansemmanuel avatar Oct 24 '19 14:10 ohansemmanuel