Monday, May 8, 2017

Connecting Redux to your API



I started using Redux last summer and one of the first things I needed to do was connect it to a backend. The awesome Redux docs have an example of how to do this, but since they were written, alternative approaches have emerged and matured.

No comments:

JavaScript Event Loop Explained

Now for the long answer, let me try through 2 sample code snippets. Here we have the main function which has 2 console.log commands loggin...