Master Redux in 30 minutes with Todo List Project | Redux in React JS | Reducers | Actions

  Рет қаралды 51,732

RoadsideCoder

RoadsideCoder

3 жыл бұрын

Let's learn React Redux in one video with a Todo List Project including its concepts such as Reducers, actions, Provider, Middlewares like Redux Thunk, abd hooks like useDispatch and useSelector.
If any questions, ask me here-
/ roadsidecoder
Read the Written Article Here-
/ getting-started-with-r...
_____________________________________________________
Flexbox in 20 Minutes -
• Master CSS Flexbox in ...
React Router DOM Tutorial-
• React Router Dom [ Ful...
Make React App a PWA -
• Convert React JS App i...
Material UI -
material-ui.com/
Learn React From Scratch -
• React JS Workshop Day ...

Пікірлер: 77
@mohitsaud2071
@mohitsaud2071 2 жыл бұрын
Thank you brother for clearing several concepts of Redux.
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
My pleasure 🤘
@PrinceArtbees
@PrinceArtbees Жыл бұрын
Its Ok Bro No Problem
@zedsmelee
@zedsmelee Жыл бұрын
Thank you for that, liked and subscribed to help you out. Really helpful upto date tutorial.
@prachikhushal9138
@prachikhushal9138 3 жыл бұрын
after watching this video, I understand well about reducers and actions. thank you sir .
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Glad you liked it. Don't forget to subscribe!
@prachikhushal9138
@prachikhushal9138 3 жыл бұрын
@@RoadsideCoder yeah!! sure
@prachikhushal9138
@prachikhushal9138 3 жыл бұрын
@@RoadsideCoder sir, can you please explain me how to set input field to empty after submit.
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Contact me on instagram @RoadsideCoder
@prachikhushal9138
@prachikhushal9138 3 жыл бұрын
@@RoadsideCoder ok sir
@nibsprogramming7794
@nibsprogramming7794 Жыл бұрын
Thank you for explaining
@VAISSAMARTHHCHINIVAR
@VAISSAMARTHHCHINIVAR 10 ай бұрын
Awesome tutorial 🙏
@RoadsideCoder
@RoadsideCoder 10 ай бұрын
Thank you 🙌
@anubhapant5227
@anubhapant5227 2 жыл бұрын
Please bring more redux-based projects.
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Yes definitely
@varsa1198
@varsa1198 3 жыл бұрын
If anyone has problems with the list not showing up just go to your reducer and remove array from here case actions.ADD_TODO: return { todos: action.payload, ...state.todos, }; the array was wrapping around action.payload, ....state.todo and couldnt get rendered because the output was todos: { 0: [ { id: ...., todos: ....} ]} so you would have to somehow map the 0 and so on so on
@amirchappalwala1568
@amirchappalwala1568 2 жыл бұрын
Thank you so much man....this was really helpful
@varsa1198
@varsa1198 2 жыл бұрын
@@amirchappalwala1568 glad I could help
@akarshankumar431
@akarshankumar431 2 жыл бұрын
Remove array, u mean that [] brackets right?? at 18:45?
@akarshankumar431
@akarshankumar431 2 жыл бұрын
Also can u share it here, pliz? I am having the same problem
@ankitasingh734
@ankitasingh734 Жыл бұрын
export const TodoReducer = (state = {todos : []},action)=>{ switch(action.type){ case "ADD" : return { todos: action.payload, ...state.todos, }; case "REMOVE" : return {todo : action.payload}; default : return state; } }
@rangabharath4253
@rangabharath4253 3 жыл бұрын
awesome bro
@justp5924
@justp5924 Жыл бұрын
Thank you❤
@aashishrana6882
@aashishrana6882 4 ай бұрын
Thanks brother'
@monkeystylle
@monkeystylle 3 жыл бұрын
Awesome tutorial man.. can you do a Redux-Saga tutorial..
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Definitely!
@monkeystylle
@monkeystylle 3 жыл бұрын
thank you.. i already subbed =)
@asishtammana5305
@asishtammana5305 Ай бұрын
what is the use of initialState in store.js file? we have never used it in the code
@tejalbhavsar4610
@tejalbhavsar4610 3 жыл бұрын
greate video it can be more of it if you explained about thung littile big thogh
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Thanks Tejal.. Sure I'll make a standalone video for redux-thunk.. Also You can always refer to docs if u need the best explanation
@siemen_subbaiah
@siemen_subbaiah 2 жыл бұрын
what's the preferred way? is it the redux tool-kit way or this method
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Both have their own use cases, but toolkit is easier I believe.
@RGalex15
@RGalex15 Жыл бұрын
Please, could you activate the subtitles, I want to translate it into Spanish. Muchas gracias por tus videos, estoy comenzando con MERN.
@maxwelochieng7658
@maxwelochieng7658 2 жыл бұрын
Why did you not return the state with the spread operator or did we not lose the state? like return {...state, todos:action.payload } because I did this with another application and got an error of a map function in the end.
@shashankjaiswal3653
@shashankjaiswal3653 Жыл бұрын
So the thing is with the curly braces, when you add those curly braces like example.map((e => {return (//Something)})) the retuen statement is necessary, whereas if you use example.map((e => ((//Something)))) normal braces there is no need to add "return"
@zainbutt6270
@zainbutt6270 2 жыл бұрын
Hey, what's the difference between Npx and Npm create-react-app. Couldn't find a good explanation on Google. Thanks
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
I think npx is mostly used to fetch boilerplate packages..
@therksingh
@therksingh 4 ай бұрын
Nice ❤
@shruthiguru9520
@shruthiguru9520 Жыл бұрын
could you please share the source code for this?
@mrrishiraj88
@mrrishiraj88 2 жыл бұрын
🙏👍
@cs3048
@cs3048 Жыл бұрын
Add captions bro
@walideker2253
@walideker2253 Жыл бұрын
it says action is not defined gyes plzz can u help me
@DeepakGupta-pz4fx
@DeepakGupta-pz4fx 3 жыл бұрын
Redux saga and Redux thunk please make on video
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Definitely!
@abhishekchhipa9585
@abhishekchhipa9585 2 жыл бұрын
ive witeen the same code but , upon entering the todos list is not showing up ,help
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Try to compare your code with mine, must be some typo.
@mdashiqurrahman2665
@mdashiqurrahman2665 2 жыл бұрын
plz make a tutorial for redux toolkit
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Sure!
@venkatesh2788
@venkatesh2788 3 жыл бұрын
Full seo, I don't know about meta tags..
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Next video will be on how u can improve react app's SEO
@DivyaPrakash-bj6zk
@DivyaPrakash-bj6zk Жыл бұрын
Bro createStore is not available. What to do now. I guess react redux has been updated.
@shaikharbaz1022
@shaikharbaz1022 Жыл бұрын
Now you can use configureStore
@trazhcode6882
@trazhcode6882 3 жыл бұрын
plzz make chat app and shopping cart with redux
@RoadsideCoder
@RoadsideCoder 3 жыл бұрын
Yes The Chat App in planning stage.. Coming soon
@trazhcode6882
@trazhcode6882 3 жыл бұрын
@@RoadsideCoder thank uu
@akarshankumar431
@akarshankumar431 2 жыл бұрын
Hey when i Click on Add/Go button, the page reloads, but the todo doesn't show up, can anyone help?
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Cam u compare your code with mine? Must be some typo.
@akarshankumar431
@akarshankumar431 2 жыл бұрын
@@RoadsideCoder i did, like ik js, everything is correct, i am getting a warning in useSelector func..it says "Todo doesn't exist on type 'DefaultRootState'
@akarshankumar431
@akarshankumar431 2 жыл бұрын
@@RoadsideCoder can ya help pliz?
@PrinceArtbees
@PrinceArtbees Жыл бұрын
@@akarshankumar431 I Thing Your Code Is Wrong
@deepakgupta2084
@deepakgupta2084 2 жыл бұрын
redux thunk pr video bna do
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Sure 👍
@niklausmikaelson7332
@niklausmikaelson7332 2 жыл бұрын
Brain shake
@coka2596
@coka2596 Жыл бұрын
It's "okay" tutorial but I don't like how he uses logic inside of an action.
@akshayv3601
@akshayv3601 Жыл бұрын
not beginner friendly
@premobratabiswas1657
@premobratabiswas1657 7 ай бұрын
exactly
@DeepakGupta-pz4fx
@DeepakGupta-pz4fx 2 жыл бұрын
Github code???
@RoadsideCoder
@RoadsideCoder 2 жыл бұрын
Description
@DeepakGupta-pz4fx
@DeepakGupta-pz4fx 2 жыл бұрын
@@RoadsideCoder niii mil rha bhai description pr
@suranjanaghosh4469
@suranjanaghosh4469 4 ай бұрын
Too fast, not understanding as a beginner.
@sharidansari2852
@sharidansari2852 8 ай бұрын
bhay tum hindi me nhi padha sakte yar hindi me padhate to bhut subscribers hote tumhare
@asrnyagmur9802
@asrnyagmur9802 10 ай бұрын
not liked
@aashishrana6882
@aashishrana6882 4 ай бұрын
Thanks brother'
@aashishrana6882
@aashishrana6882 4 ай бұрын
Thanks brother'
React Redux Toolkit
28:17
Piyush Garg
Рет қаралды 56 М.
React Redux (with Hooks) Crash Course
48:00
Laith Academy
Рет қаралды 208 М.
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 20 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 48 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 1,4 МЛН
🔴 Modern React Redux To-Do List Project in Hindi in 2021
49:30
Thapa Technical
Рет қаралды 107 М.
Redux toolkit crash course | Chai aur React Series
1:10:18
Chai aur Code
Рет қаралды 226 М.
Redux Tutorial - Learn Redux from Scratch
1:34:53
Programming with Mosh
Рет қаралды 1 МЛН
React Redux Tutorial For Beginners | Redux Toolkit Tutorial 2021
53:26
Context API in react | get the concept
29:00
Hitesh Choudhary
Рет қаралды 41 М.