React Redux Tutorials - 7 - Store

React Redux Tutorials - 7 - Store

Codevolution

4 года назад

317,686 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@FatmavHassan
@FatmavHassan - 05.12.2023 00:50

Thank you so much this is the first time in my entire life to understand the concept of redux.. all the best for you

Ответить
@sandrajsaju6552
@sandrajsaju6552 - 15.10.2023 10:38

Listen at 1.04 or 1.05 there is a telephone ringing....so what?😅

Ответить
@Mot-cong-mot-la-hai
@Mot-cong-mot-la-hai - 23.08.2023 10:05

Thank you so much, you are such a dedicated teacher

Ответить
@vishwajeetyadav4480
@vishwajeetyadav4480 - 24.07.2023 19:20

don't understand line no 32 why const unsubscribe u write ?????

Ответить
@rakeshkumaryadav1117
@rakeshkumaryadav1117 - 24.06.2023 10:30

Anyone can explain the flow of execution please

Ответить
@rakeshkumaryadav1117
@rakeshkumaryadav1117 - 24.06.2023 10:24

What significance of Unsubscribe() method ??

Ответить
@NeelaKrishnaTejaTadikonda
@NeelaKrishnaTejaTadikonda - 24.05.2023 15:50

How does it get initialState, it is passed as default param?

Ответить
@haralc
@haralc - 30.03.2023 04:46

I like this video. And I'm one of those idiots who learn react and redux at the same time. So, I thought this things are broken because programming for a very long time, I have witnessed the 'evolution' of programming languages, assembly to c, c++, python - as we go higher, we have less things to type and deal with. But after watching this, it looks a lot less broken ... but it is still!. I'm from an object oriented team, so that 'buyCake' function should be doing remote calls, manage the error handling and take care of emitting 'SUCCESS' and 'FAIL' scenarios, and also when it is a 'SUCCESS' scenario, the buyCake should update the current inventory and shopping cart, that means being able to fire two actions, and maybe fire another action like print receipt. This logic is not a button's responsibility.

Ответить
@sigh9032
@sigh9032 - 29.03.2023 18:48

In my application, whenever i uses createStore, it just strike it through ( ̶c̶r̶e̶a̶t̶e̶S̶t̶o̶r̶e̶) and recommending using configStore from redux toolkit. I am new to redux as a whole, and I am confused, will it effect my final output?

Ответить
@johnsumith2107
@johnsumith2107 - 26.03.2023 10:51

i didnt understood this fully one doubt please clarify it: when store.dispatch method is called how the store.subscribe method will get called??

Ответить
@vergil_389
@vergil_389 - 20.03.2023 13:22

Fix to all your errors,

const redux = require('redux');
const createStore = redux.createStore()
// replace the above two lines with the one below

import { legacy_createStore as createStore} from 'redux'


also add this

"type": "module",

to package.json after
"description": "",

Ответить
@sachinfulsunge9977
@sachinfulsunge9977 - 09.03.2023 14:25

Understood this in one go!

Ответить
@soulju9144
@soulju9144 - 18.02.2023 20:29

Honestly really impressed by how you're breaking this down. Gave me perfect clarity. I had previously tried figuring out what all this was doing just by looking at previously created code and was completely lost. Your video series has helped so much

Ответить
@swethass9773
@swethass9773 - 26.01.2023 12:54

Thanks for the amazing videos!
If we dispatch buy cake after unsubscribing, the state wouldnt change?

Ответить
@costagmc1
@costagmc1 - 25.01.2023 09:17

best in class teacher

Ответить
@sahilbhatti9582
@sahilbhatti9582 - 02.01.2023 16:27

can you make video on using redux with redux saga ?

Ответить
@pravinchoudhary812
@pravinchoudhary812 - 06.12.2022 08:40

Watched your React Beginner and now React-Redux. Really loved the way you explain the concepts in bit-wise with examples.
Only thing - that could have been added is - that methods which are immutable needs the copy of object (hence we use spread operator first) (also as spread operator is used - we need to take care about nested objects)

Ответить
@farisabuali3978
@farisabuali3978 - 14.10.2022 21:06

Thanks!

Ответить
@AbhishekKumar-yi8bu
@AbhishekKumar-yi8bu - 07.10.2022 11:42

TypeError: CreateStore is not a function showing this error in the terminals

Ответить
@vishalupadhayay6391
@vishalupadhayay6391 - 27.09.2022 07:04

This video is outdated please update this one as createStore method is deprecated

Ответить
@anushareddy2602
@anushareddy2602 - 13.09.2022 11:46

When you type node index in terminal you are getting what you written in console am not getting it am a beginner can you explain me this

Ответить
@dansmar_2414
@dansmar_2414 - 21.07.2022 15:02

He's not from this planet, really appreciate his work

Ответить
@fallegapyro
@fallegapyro - 13.07.2022 12:19

Thank you. But you are just making things confusing, unsub = sub?

Ответить
@golansy2814
@golansy2814 - 22.05.2022 13:27

Explanation at the top of magnificence.

Ответить
@thecodelife9855
@thecodelife9855 - 06.05.2022 10:41

Are these videos still useful in 2022 or are they outdated ?

Ответить
@reflextions5799
@reflextions5799 - 21.04.2022 19:16

createStore is deprecated, can you update for configureStore?

Ответить
@raghavendrareddy8242
@raghavendrareddy8242 - 21.04.2022 09:01

For buy cake you are creating one more object instead you change prop in state and return the same

Ответить
@MrHalburch
@MrHalburch - 09.04.2022 03:34

Initial state undefined also

Ответить
@Praveentechintelugu
@Praveentechintelugu - 27.03.2022 13:32

it is throwing an error for me

Ответить
@laxmikanthgurram1074
@laxmikanthgurram1074 - 23.03.2022 21:55

So put in simple terms ,the below is the Redux essence or pattern
1)we create a store
2)declare the initial state and the reducer
3)define the actions and action creators
4)subscribe to the store
5)dispatch actions to update the store
6)And finally unsubscribe to the changes (in the store).

Ответить
@shahreazneeloy2119
@shahreazneeloy2119 - 12.03.2022 22:27

Please make videos on redux toolkit and rtk query

Ответить
@esraamohamed5601
@esraamohamed5601 - 09.02.2022 01:00

Thank you

Ответить
@NoumanKhan-ck7vx
@NoumanKhan-ck7vx - 07.01.2022 10:51

at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1031:15)
at Module._compile (node:internal/modules/cjs/loader:1065:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47

Ответить
@thequinguyen6904
@thequinguyen6904 - 06.01.2022 08:44

HOLY GUACAMOLY THIS GUY IS THE BEZT

Ответить
@NoumanKhan-ck7vx
@NoumanKhan-ck7vx - 31.12.2021 12:11

sir it is giving me error

Ответить
@anithakunapareddy8931
@anithakunapareddy8931 - 08.12.2021 10:29

Why should dispatch an action to update state and not update store directly?

Ответить
@gane27
@gane27 - 01.12.2021 15:38

Hi Viswas, Nice and simple explanation. i have tried and got this error :
/react-prj/Redux-Demo/index.js:1
const redux = require('redux')
^

ReferenceError: require is not defined

Ответить
@yeganehaym
@yeganehaym - 28.11.2021 14:55

what is the visual studio code theme you're using?

Ответить
@ashishsingla4697
@ashishsingla4697 - 17.11.2021 05:03

why not we just pass intial state as an parameter to createStore function
const store = createStore(initState)

Ответить
@AAKSHAS
@AAKSHAS - 09.11.2021 15:37

Feedback is that Vishwas should never include Node JS into React JS

Ответить
@himanshulal97
@himanshulal97 - 03.11.2021 06:40

bro you are only 9 views away from 150k views on this video, i will complete that ... Best redux tutorials i had ever seen on any where on the internet. may you get what you want in your life ... Hare krishana ...

Ответить
@shohzotnurullayev2233
@shohzotnurullayev2233 - 28.10.2021 00:25

very good thanks

Ответить
@musiclovers8488
@musiclovers8488 - 27.10.2021 03:57

Really awesome …

Ответить
@genos2719
@genos2719 - 24.10.2021 14:00

request: can we have react-redux typescript series? hehehe

Ответить
@manee427
@manee427 - 06.10.2021 21:44

amazing 👍👍👍👌👌

Ответить
@bijin800
@bijin800 - 01.10.2021 14:04

A small doubt:
You always pronouncing '=' symbol as 'equals to '.
But i heard that in programming '=' symbol is pronounced as 'assign'
and double '=' symbol ('==') is pronounced as 'equals to'
Which is correct ???

Ответить
@luis.carlosrodriguez1561
@luis.carlosrodriguez1561 - 14.09.2021 20:30

hey there, great REDUX video, amazing training. one question: line 31 returns an 'UNDEFINED' everytime I run but when you run the same code, you get the initialState. confused...
thank you for the series.

Ответить