- May 4, 2024
API Calls in React/Redux Part 4 — Connecting Redux and Passing Properties
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 — Introduction
- API Calls in React/Redux Part 2 — Setting up Axios
- API Calls in React/Redux Part 3 — Actions and Reducers
- API Calls in React/Redux Part 4 — Connecting Redux and Passing Properties