Having a reducer
is great for complex components but for our simple Stopwatch
it’s a layer of abstraction that might not be necessary.
We'll cover:
reducer
into a function that shallow merges the new state into the olddispatch
function into setState
Didn't see the setState coming. Great tutorial!!
Great tutorial!!
Magic of logical thinking !.
Very elegant, great one Kent