SPA
π¨βπΌ Hello again! We've got an exciting project ahead of us. Our users want us to
deliver features and bug fixes faster with fewer bugs and we've decided the
duplication of UI logic between the server render and the client-side code is
slowing us down
To speed things up and make our users happier, we're going to convert our
existing Multi-Page Application into a Single Page Application using React.
π§ββοΈ Hi, I'm Kellie. I've already done a number of things to get things set up for
our React app. You can check the diff to see what
I've done so far.
π¨βπΌThanks Kellie!
Ok, so your main remaining tasks are to:
- Create initial state with
count
,loading
, anderror
- Implement
counterReducer
for various action types - Use
useReducer
anduseEffect
hooks - Implement
fetchCount
andupdateCount
functions - Handle
loading
anderror
states in the UI
Good luck, and let's create something amazing! π