Logging the State Object

Now we'll write a function which logs all our store updates. This will be helpful in understanding if our contacts component is working properly.

We'll cover the following...

Each time the store updates and invokes render, let’s log the state from the store.

Here’s how:

Access this course and 1400+ top-rated courses and projects.