Creating Functions
Learn to create functions in an application with Redux.
We'll cover the following...
To make our demo functional, let’s create a click handler
for each button that will use the dispatch()
function to notify our store
that an action
needs to be performed:
dispatch(action);
...