Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ View this video to see how the app should work once you are done coding. [Video]
Currently, the users are hard coded in the state.js file. How could we change this so that the data is coming from an api. https://jsonplaceholder.typicode.com/users
There is no new special thing we have to do. We have all the knowledge we need to do this with redux. We just need to figure out how to use them together.
* We should know how to make a fetch call by now. Where does the fetch call go?
* What do you do with the data when the fetch call is complete? Not setState.
* What do you do with the data when the fetch call is complete? Not setState. *** send it to the store!
* Is there an action message that could represent that the redux store needs to be updated with the list of users you just fetched from the api.
* Does any reducer need to be aware of this message?
* Does any reducer need to be aware of this message? the ones with the names of the stuff we're getting!


Loading