First attempt to explore a multi component exepriment, before knowing about it.
It works, now is time to find out if it makes sense.
Splitting code in a couple components / files and passing props and state down and up among parent / childs.
-
Extract
counter
component (?) -
Fix
counter
component: does not update