Blog 6

This week in class we learned about redux and thunk

actions are a plain javascript object that contains information, and the only source of information for the store.

A reducer is a function that takes an action and the previous state of the application and returns the new state

It means the only way to change your data in UI is to dispatch redux action which will change state within redux reducer

The four components of redux are the store, state, reducers, and actions

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

MVC: A beginner’s guide with examples of REST API and a flutter app

Just an intro image

Passing props to {props.children} using React.cloneElement and render Props pattern

REACTJS VS ANGULARJS VS VUEJS

be your web developer

Integrating Navigator.onLine into React-Redux

JavaScript Array.some() and every()

Wrangling Wild CMS Data with TypeScript

An Alternative Way to Use Angular Templates

Space Garden — A Flower Genetics Simulation

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ryan Pearson

Ryan Pearson

More from Medium

“Wow! I want to write like you”

The Story Of Me

7 Most-Needed Skills To Learn In 2022

Welcome to Here4Quantum’s Medium Page!