Комментарии:
Thank you so much this is the first time in my entire life to understand the concept of redux.. all the best for you
ОтветитьListen at 1.04 or 1.05 there is a telephone ringing....so what?😅
ОтветитьThank you so much, you are such a dedicated teacher
Ответитьdon't understand line no 32 why const unsubscribe u write ?????
ОтветитьAnyone can explain the flow of execution please
ОтветитьWhat significance of Unsubscribe() method ??
ОтветитьHow does it get initialState, it is passed as default param?
Ответить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.
Ответить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?
Ответитьi didnt understood this fully one doubt please clarify it: when store.dispatch method is called how the store.subscribe method will get called??
Ответить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": "",
Understood this in one go!
Ответить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
ОтветитьThanks for the amazing videos!
If we dispatch buy cake after unsubscribing, the state wouldnt change?
best in class teacher
Ответитьcan you make video on using redux with redux saga ?
Ответить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)
Thanks!
ОтветитьTypeError: CreateStore is not a function showing this error in the terminals
ОтветитьThis video is outdated please update this one as createStore method is deprecated
Ответить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
ОтветитьHe's not from this planet, really appreciate his work
ОтветитьThank you. But you are just making things confusing, unsub = sub?
ОтветитьExplanation at the top of magnificence.
ОтветитьAre these videos still useful in 2022 or are they outdated ?
ОтветитьcreateStore is deprecated, can you update for configureStore?
ОтветитьFor buy cake you are creating one more object instead you change prop in state and return the same
ОтветитьInitial state undefined also
Ответитьit is throwing an error for me
Ответить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).
Please make videos on redux toolkit and rtk query
ОтветитьThank you
Ответить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
HOLY GUACAMOLY THIS GUY IS THE BEZT
Ответитьsir it is giving me error
ОтветитьWhy should dispatch an action to update state and not update store directly?
Ответить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
what is the visual studio code theme you're using?
Ответитьwhy not we just pass intial state as an parameter to createStore function
const store = createStore(initState)
Feedback is that Vishwas should never include Node JS into React JS
Ответить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 ...
Ответитьvery good thanks
ОтветитьReally awesome …
Ответитьrequest: can we have react-redux typescript series? hehehe
Ответитьamazing 👍👍👍👌👌
Ответить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 ???
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.