Multiple Fetch() to update state in React

Promise.all to load and combine multiple fetch() calls to JSON data.

Advertisements

Controllers with React-Redux

In this tutorial, I'm going to show how I've simplified my use of React-Redux with a controller. In simple terms, a controller (to me anyway) is an object with functions to abstract from working directly with the store. It goes a little something like this: controller.js import {createStore} from 'redux' const ADD_VISIT = 'ADD_VISIT'; const... Continue Reading →

Create a free website or blog at WordPress.com.

Up ↑

Create your website at WordPress.com
Get started