Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Redux Store | Fundamental Concepts
Introduction to Redux
course content

Kurssisisältö

Introduction to Redux

Introduction to Redux

1. Getting Started
2. Fundamental Concepts
3. Redux in Practice
4. Creating a React-Redux Application

book
Redux Store

The entire state of the application is stored in an object called Redux Store. We can create a Redux Store using the configureStore function imported from @reduxjs/toolkit:

js

In the configureStore function we pass an object containing at least one reducer. The store is a reference to the create store. We can access the object containing the state data using the getState method:

js
question mark

Select the correct code for creating a Redux Store with a reducer called todoReducer.

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 3

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

course content

Kurssisisältö

Introduction to Redux

Introduction to Redux

1. Getting Started
2. Fundamental Concepts
3. Redux in Practice
4. Creating a React-Redux Application

book
Redux Store

The entire state of the application is stored in an object called Redux Store. We can create a Redux Store using the configureStore function imported from @reduxjs/toolkit:

js

In the configureStore function we pass an object containing at least one reducer. The store is a reference to the create store. We can access the object containing the state data using the getState method:

js
question mark

Select the correct code for creating a Redux Store with a reducer called todoReducer.

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 3
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt