Week 6 — Redux Thunk and React Hooks

Monica Suarez
Oct 26, 2020

This week we delved further into Redux and did a quick recap on hooks. We also started code planning our capstone projects.

Discuss in words something you learned in class today or this week. | The most important thing I learned this week was how to properly implement React hooks.

What are “actions” in Redux? | Actions are payloads of information that send data from your application to your store.

What is the role of reducers in Redux? | A reducer is a function that determines changes to an application’s state. It uses the action it receives to determine this change.

What is the meaning of “single source of truth” in Redux? | It means that the only way to change one’s data in UI is to dispatch redux action which will change state within the reducer.

Explain the components of Redux. | Store, reducer, action, and middleware.

Which (if there is) node library method could you use to solve the algorithm problem you solved last night in your pre-homework. | react-native-counter-library

--

--