Logging

Learn how to log the data.

We'll cover the following...

Now that our UI allows us to add new recipes, we find it hard to see what actions are sent to the store. One option is to log received actions from the root reducer—but as we will see shortly, this can be problematic. Another option is to use the middleware.

The store holds connections to all the middleware functions, which receive actions before the reducers ...