02 / the smallest loop

Count the change.

Two actions enter one reducer. The display subscribes to the resulting state.

Named actionsOne subscriber

Counter

Live state

Choose a step, then dispatch a change.

0current count

The store exists only in this tab. Reload to start again.