Showing 4 posts by,

Danyon Satterlee

This final video explains how to connect Redux to React and how to apply the middleware Redux Thunk to be able to delay the execution of each action. Pass down the functions made in actions through props. Then, apply an onclick function to the button to call the action that gets information from the API. Source: https://github.com/danyonsatterlee/youtube-examples/tree/master/color-fun Series overview: API Calls in React/Redux Part 1 — Introd [...]

This video walks through how to set up the actions and reducers for Redux in React. Learn how to set up a function in actions to call the API using Axios. Export the functions to the reducers to set up a default state. Source: https://github.com/danyonsatterlee/youtube-examples/tree/master/color-fun Series overview: API Calls in React/Redux Part 1 — Introduction API Calls in React/Redux Part 2 — Setting up Axios API Calls in React/Redux Part [...]

This video walks through downloading the correct packages using the terminal to set up a React Redux application. We will also download the Axios package to help get information from the API. Set up a container and component with a button. Finally, stylize the project before adding logic in the next video. Source: https://github.com/danyonsatterlee/youtube-examples/tree/master/color-fun Series overview: API Calls in React/Redux Part 1 — Intr [...]

This video introduces how to look up information from an API. We use the colr.org API for this tutorial. Learn how to make a GET request. Finally we will decode the JSON information from a given end point using the tool Postman. Source: https://github.com/danyonsatterlee/youtube-examples/tree/master/color-fun Series overview: API Calls in React/Redux Part 1 — Introduction API Calls in React/Redux Part 2 — Setting up Axios API Calls in React/ [...]