Redux CRUD Tutorial in React - Redux Toolkit Tutorial

  Рет қаралды 105,775

PedroTech

PedroTech

2 жыл бұрын

In this video I will teach you all how to code a CRUD (Create, Read, Update, Delete) application using Redux in React. I use redux toolkit to make this happen :)
CODE: github.com/machadop1407/redux...
🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
🐙 GraphQL Course: codedamn.com/learn/graphql-fo...
► Buy Crypto on Coinbase: coinbase-consumer.sjv.io/PedroTech
Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Website: machadopedro.com
Linkedin: / machadop1407
Instagram: / _pedro.machado_
Github: github.com/machadop1407
Business Email: pedro@pedrotech.co
Tags:
- ReactJS Tutorial
- ReactJS and MySQL
- NodeJS Tutorial
- API Tutorial
#reactjs #redux

Пікірлер: 134
@murat6018
@murat6018 2 жыл бұрын
I really enjoy your tutorials man. You're really, really good at teaching. Everything is simplified and easy to follow. You deserve more views IMHO.
@randerins
@randerins 2 жыл бұрын
Justamente o video que precisava pra concluir meu bootcamp. Valeu Pedro!
@ajitshaw1936
@ajitshaw1936 2 жыл бұрын
You are the most awesome teacher I have seen, I have been trying to learn redux for a long time and now after this, I can proudly say I have learned it.
@ismetomerkoyuncu1179
@ismetomerkoyuncu1179 2 жыл бұрын
i just found you in this monday and you are just amazing, i mean its like your advices and tutorials are more effective.
@shinobi_coder88
@shinobi_coder88 2 жыл бұрын
Thanks for making me addicted to your contents bro, I'm a frontend dev and discovered great opportunities in many of your videos. Easy to understand and very straightforward! Keep making new amazing videos and help your subscribers to achieve their goals ✌️
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Hahahaha it makes me happy to know your liking the content! Good luck on ur journey :)
@shinobi_coder88
@shinobi_coder88 2 жыл бұрын
@@PedroTechnologies Yo Pedro, I just got curious in some ways about your blog tutorial with firebase v9 Auth and Firestore in React. Is it possible if I create a similar project with Next.js, Firestore, and NextAuth instead of Firebase Auth??
@vjp2866
@vjp2866 2 жыл бұрын
Man you are a treasure I found in the internet !!! Keep it up bro, im seeking lot of react tutorials from you. Hope you are getting enough payments from youtube, you need a lot of payment !
@mouhanedakermi4019
@mouhanedakermi4019 2 жыл бұрын
Absolutly amazing like always Pedro ! You made me fall in love with your content ❤
@josesantillan732
@josesantillan732 Жыл бұрын
Amazing Pedro!! Killing it, man. Keep it that way
@youngfather320
@youngfather320 2 жыл бұрын
Good job Pedro! Thank you for your awesome tutorial. Keep doing it!!!
@syedabdulsuboor1415
@syedabdulsuboor1415 5 ай бұрын
Hey Pedro, Just wanna say that I was just struggling to understand Redux by watched around 4-5 videos, but that weren't as easy as yours. Thanks a lot of man !
@storyPlus12
@storyPlus12 2 жыл бұрын
Perfect explanation. Thanks mate 🙏
@mansoob
@mansoob Жыл бұрын
Great tutorial, cleared many ambiguities. You presented it in a quite logical way the app should have been developed. Quite simplified.
@oscaranillo7131
@oscaranillo7131 10 ай бұрын
Pretty awesome, clear and very well explained! Keep up the good work!
@woofcode3383
@woofcode3383 2 жыл бұрын
Thanks so much Pedro, another great tutorial!
@ThColinPereira
@ThColinPereira 2 жыл бұрын
Super helpful, thanks Pedro!
@holderchannel4393
@holderchannel4393 Жыл бұрын
Thanks so much for your dedication! I love this video. I am a react developer and I really love using Redux to manage states in my applications.
@vichesayolana1738
@vichesayolana1738 2 жыл бұрын
Thankyou sooo muuuch Pedro! I really love your explanation.
@SvetaSveta-ms4hi
@SvetaSveta-ms4hi 2 жыл бұрын
Thanks a billion! 🙏 Extremely useful.
@hardwired89
@hardwired89 2 жыл бұрын
waw my requestt last month, thank you pedrooo ❤️
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Hope you like it!
@surajsoni3678
@surajsoni3678 Жыл бұрын
Amazing video. you made every concept easy. God bless you
@luckystr1k3
@luckystr1k3 Жыл бұрын
Man this tutorial is very clear even for those who know nothing about react
@aaxxll3550
@aaxxll3550 2 жыл бұрын
thank you so much for all the effort you put into your videos, you don't know how much you've helped me!
@WellMetMunro
@WellMetMunro Жыл бұрын
Nice CRUD app that covers everything I wanted to know. Thanks.
@donnazukowski
@donnazukowski Жыл бұрын
I love your channel because you ARE a programmer who works with this tech stack. You layout your videos as to what a programmer would need. I loved your React/Firebase tutorial. Is it possible to do that one again using Redux?
@connergoldberg
@connergoldberg 2 жыл бұрын
Awesome stuff Pedro! Could you perhaps do a tutorial on using redux-thunk in order to integrate async middleware into redux through the use of apis?
@rahulsutar6263
@rahulsutar6263 Жыл бұрын
yes please
@ericmomoh7927
@ericmomoh7927 Жыл бұрын
Connect with me on LinkedIn
@ericmomoh7927
@ericmomoh7927 Жыл бұрын
@@rahulsutar6263 hope you have found out
@rahulsutar6263
@rahulsutar6263 Жыл бұрын
@@ericmomoh7927 no could you plz share
@hamzashaikh571
@hamzashaikh571 2 жыл бұрын
Awesome video, learnt a lot
@ManfredAlberto
@ManfredAlberto Жыл бұрын
Great tutorial, thanks!
@faris.abuali
@faris.abuali 2 жыл бұрын
Thanks Pedro!
@shivanshpatel4072
@shivanshpatel4072 Жыл бұрын
Awesome video Man
@aryamitrachaudhuri6564
@aryamitrachaudhuri6564 Жыл бұрын
Thank you Pedro!
@rahulsutar6263
@rahulsutar6263 Жыл бұрын
awesome i love it, thank you so much for this video
@danlleo
@danlleo 2 жыл бұрын
Thanks! Great as always 😊
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thank you!
@deepaknarayanchilmule2767
@deepaknarayanchilmule2767 2 жыл бұрын
Very helpful bro. More on redux please...
@giorgikiladze1151
@giorgikiladze1151 2 жыл бұрын
thanks was really helpfull
@georgeasv.4214
@georgeasv.4214 Жыл бұрын
Top content as always !!
@sumairimtiaz4545
@sumairimtiaz4545 Жыл бұрын
Thank you very much sir.
@dalandan8300
@dalandan8300 2 жыл бұрын
I'm "mukbanging" your videos this year and become a better programmer.new subscriber here from Ph
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Hahaha glad to hear! Thank u for watching :)
@ujenbasi9495
@ujenbasi9495 2 жыл бұрын
@@PedroTechnologies sir, today i just completed the graphql video. I really enjoyed that video. Can you please make more videos on graphql??
@jason96G
@jason96G Жыл бұрын
I would reccomend using a forEach method instead of map method in the updateUsername action. This will eliminate any console warning about not having a return in the map method.
@Kamim78
@Kamim78 2 жыл бұрын
Great, Thanks so much :)
@owltrades
@owltrades 2 жыл бұрын
Thanks Pedro ❣
@francogaliotti3837
@francogaliotti3837 2 жыл бұрын
You are the best pedro
@kelvintafadzwamaringire4504
@kelvintafadzwamaringire4504 Жыл бұрын
Great content great music ❤‍🔥❤‍🔥❤‍🔥🔥🔥
@AlEgorova
@AlEgorova Жыл бұрын
Thanks! Very helpful!!! Can we have a bigger CRUD project with backend and redux?
@andrewsmal5173
@andrewsmal5173 2 жыл бұрын
That’s amazing thx
@abhishekrawat8579
@abhishekrawat8579 2 жыл бұрын
great video sir❤️
@naveenkarthik4495
@naveenkarthik4495 2 жыл бұрын
Thanks a lot!!!!
@please_pin_me
@please_pin_me 2 жыл бұрын
awesome stuff I get a job!
@murali7370
@murali7370 2 жыл бұрын
Thanks Pedro
@JamesSmith-yj7wq
@JamesSmith-yj7wq 2 жыл бұрын
Hello pedro, awesome video.. can you please also advise how can we persist the data in a storage because currently when we refresh the app, the store is refreshed?
@viniciussantosaguiar9543
@viniciussantosaguiar9543 15 күн бұрын
Super!! Very Cool!!!
@johnsunday3548
@johnsunday3548 2 жыл бұрын
Great content mentor...more Grace sir...pls redux toolkit , react and firebase.
@inihood
@inihood Жыл бұрын
I love this 😍
@Star-hw8bh
@Star-hw8bh 2 жыл бұрын
Thank you so much. I wonder why there's not timestamps in this one
@MashxuraXakimova-si4le
@MashxuraXakimova-si4le Жыл бұрын
Good job 👏 👍 👌
@codemize
@codemize 2 жыл бұрын
Well done👌🥳
@iam_djumanov
@iam_djumanov Жыл бұрын
I Really fan of your videos .... Pedro Is it all about Redux Toolkit ? Thanks for answers .....
@amrutkhot992
@amrutkhot992 2 жыл бұрын
Thanks for this Video.. ! Your Previous video on redux was also Good....! Btw, which theme you are using for VSCode ?
@ManfredAlberto
@ManfredAlberto Жыл бұрын
Palenight Theme and Material Icon Theme.
@nargizgasanova6222
@nargizgasanova6222 2 жыл бұрын
thank you
@cuneytdonmez214
@cuneytdonmez214 2 жыл бұрын
Thanks...
@patrickudeh5869
@patrickudeh5869 Жыл бұрын
Good one bro.. Any link for full mern stack app?....
@wotizit
@wotizit 2 жыл бұрын
"He's back" - Minister of magic
@wotizit
@wotizit 2 жыл бұрын
Might use context api
@qigongzhu2733
@qigongzhu2733 Жыл бұрын
That's a greet video ,but if you can add some maitain or reserve function will be better ,for example use fireBase Storage, and add fetch logic to make what we created, updated ,deleted ....
@dkevin1553
@dkevin1553 2 жыл бұрын
Thanks for the great video. Can you please tell which VSCode theme are you using in this video?
@ManfredAlberto
@ManfredAlberto Жыл бұрын
Palenight Theme and Material Icon Theme.
@marcosmeneghetti3261
@marcosmeneghetti3261 2 жыл бұрын
Ola, Pedro, tudo bem? Primeiramente gostaria de agradecer pelos incriveis tutoriais que voce proporciona na internet. Sao muito bons. Mas eu estou tendo alguns problemas que eu gostaria de saber como corrigi-los. 1- SE eu deleto todos os elementos da lista, e quero acrescentar um novo, eu recebo uma mensagem de erro - Cannot read properties of undefined. 2- Se eu coloco Amanda no input de Leanne Graham, ele muda o username de Leanne Graham sem problemas. So que se eu clicar no botao updateusername sem colocar nada no input do Ervin Howell, o username de Ervin Howell tambem muda para Amanda. Tem como zerar os inputs para evitar acumulo de usernames, assim eu consigo fazer update para cada um com o nome correspondente para cada um. 3-Se o input esta vazio, ele tira o username de cada elemento. Tem como fazer si input esta vazio nao mude o username? Mais uma vez muito obrigado pelos incriveis tutoriais.
@Prince_515
@Prince_515 2 жыл бұрын
Hey, what theme do you use? Also, I just started the Graphql course on your YT and the course is really helpful and detailed, thank you for that!!
@aprovado597
@aprovado597 2 жыл бұрын
Same question
@ManfredAlberto
@ManfredAlberto Жыл бұрын
Palenight Theme and Material Icon Theme.
@ManfredAlberto
@ManfredAlberto Жыл бұрын
@@aprovado597 Palenight Theme and Material Icon Theme.
@storyPlus12
@storyPlus12 2 жыл бұрын
How can I store my useState hook in redux toolkit?
@user-js9pd7cv6g
@user-js9pd7cv6g 2 жыл бұрын
I don't understand why you change state strictly. What about immutable? I was teached on my course that we can't change state straight, we should mede copy {... state}. Or maybe toolkit provides us such possibility to change state "right on face"? Thank you for the video!
@ggrisch
@ggrisch Жыл бұрын
When you use map function the first jsx element must have unique key prop.
@mabrarhassan
@mabrarhassan Жыл бұрын
i doubt if you change username of first row and then click the update but on second row, the state value will be applied to second row. 😃
@worldclasscode1847
@worldclasscode1847 2 жыл бұрын
Awesome tutorial. Is the state persistent in this tutorial app? If I hit refresh, will the state persist?
@connergoldberg
@connergoldberg 2 жыл бұрын
It depends on if you are calling reducers within your parent components which can override state in your child components, but by and large..yes refreshing the ui will still persist the state
@yasinnkhann
@yasinnkhann 2 жыл бұрын
Do you think it’s worth learning the old redux way? Map dispatch to props and all that? If so, could you make a video on that?
@137dylan
@137dylan 2 жыл бұрын
It might be useful for legacy code bases and or class components. There are some videos on YT. Overall tho I would focus on modern techniques that include hooks and functional programming.
@conspirisi
@conspirisi 2 жыл бұрын
How to I get a component to rerender everytime a redux store updates and the component reflects the changes of the store? I can get the initial state using useSelector, but after that it doesn't update.
@alihafezis
@alihafezis 2 жыл бұрын
great
@GreatAdib
@GreatAdib Жыл бұрын
can you do this with django rest framework api and consume this in react with redux with CRUD (image upload also) this would be a nice project👌👌
@vincent3542
@vincent3542 2 жыл бұрын
good explanation pedro, but there is one thing that bothers me. what value does "reducer deleteUser" hold when calling "dispatch" to delete a specific user in App.js? if I try to guess maybe when the "delete user" button is pressed then the "action.payload" in "deleteUser" in "users.js" will be an object with the user we want to delete. Is that true?
@connergoldberg
@connergoldberg 2 жыл бұрын
The action.payload will give you whatever information was dispatched by your component. So if a delete button is clicked it will dispatch a payload to the deleteUser reducer and that payload is equal to whatever was dispatched.
@binitrupakheti4246
@binitrupakheti4246 2 жыл бұрын
I used valtio for global state management and react query for server state and never looked back to redux.
@GonzaloGuevaraFreire
@GonzaloGuevaraFreire 2 жыл бұрын
Hola, consulta, el tema de iconos para VSCode que estás usando , cual es ?
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Electron
@itsaaron6423
@itsaaron6423 2 жыл бұрын
TypeError: undefined is not an object (evaluating 'userList[userList.length - 1].id') says so when i delete all the user
@sayamrahmanrobin2969
@sayamrahmanrobin2969 Жыл бұрын
good
@mohamedyoussef8835
@mohamedyoussef8835 2 жыл бұрын
Awesome video +++++++++++++++++++++++++++++++
@dheerajtp5701
@dheerajtp5701 2 жыл бұрын
Hey pedro can u give an intro to store these items in local storage using toolkit ? Btw thnx for all the videos brother
@connergoldberg
@connergoldberg 2 жыл бұрын
In your reducer, just put the item in localstorage if it doesnt exist already and remove whenever you want.
@dheerajtp5701
@dheerajtp5701 2 жыл бұрын
@@connergoldberg ok bro will try thnx brother
@informationtechtips5391
@informationtechtips5391 5 ай бұрын
Hy Masha Allah
@nanonkay5669
@nanonkay5669 2 жыл бұрын
Why not use the createEntityAdapter api for crud operations? It works like magic. But it is kinda advanced, I won't lie
@indiancuriousvoice8773
@indiancuriousvoice8773 3 ай бұрын
Make a industry level mern project
@manoj-k
@manoj-k 2 жыл бұрын
🔥🔥🔥
@jorgedavalos5663
@jorgedavalos5663 2 жыл бұрын
can you do this tutorial with recoil? 😬
@VinciJeremy789
@VinciJeremy789 24 күн бұрын
"dispatch is not a function" -this error is coming. What to do😢
@ashish_prajapati_tr
@ashish_prajapati_tr 2 жыл бұрын
what is the theme you are using?
@ManfredAlberto
@ManfredAlberto Жыл бұрын
Palenight Theme and Material Icon Theme.
@alimozaffari3539
@alimozaffari3539 2 жыл бұрын
Thank you for your nice tutorial. I have tried to get data from API instead of local fakeData as you used in this tutorial. But I could not receive data. I faced error of "Uncaught TypeError: xxx.map is not a function at App (App.js:10:1)". Please help guide me what to do. Thanks
@ericmomoh7927
@ericmomoh7927 Жыл бұрын
Hope you have found out? You can connect with me on LinkedIn if you are still interested in knowing it
@ichigokuro3986
@ichigokuro3986 2 жыл бұрын
What's your vscode theme?
@ManfredAlberto
@ManfredAlberto Жыл бұрын
Palenight Theme and Material Icon Theme.
@percentage42
@percentage42 2 жыл бұрын
Where is the source code for this tutorial?
@ivanrabelo1558
@ivanrabelo1558 Жыл бұрын
vc é brasileiro?
@saudkhan1080
@saudkhan1080 2 жыл бұрын
Mor react redux plzz ❤️
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
More to come :)
@skyhappy
@skyhappy 2 жыл бұрын
@@PedroTechnologies Redux can be unnecessary overhead I wouldn't want more tbh
@tumon001
@tumon001 2 жыл бұрын
Make a simple chat app tutorial. don't need to focus on UI too much. We are waiting...
@msh_dev
@msh_dev 2 жыл бұрын
Theme name?
@ManfredAlberto
@ManfredAlberto Жыл бұрын
Palenight Theme and Material Icon Theme.
@aliomer9049
@aliomer9049 2 жыл бұрын
😍😍😍😘
@fatehmr6681
@fatehmr6681 Жыл бұрын
There are some bugs in your application
@filipevalentegomes2383
@filipevalentegomes2383 2 жыл бұрын
When you use something like recoil, then you realize how overcomplicated they made redux. Even with redux toolkit, it still looks all over the place. The video was great, redux just isn't.
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
I guess it depends on what you are used too! Both have very good support, I will make a vid on comparing all the state management libraries.
@AmpreaRamingo
@AmpreaRamingo 2 жыл бұрын
Mettetela un po' di pubblicità ogni tanto...
@osamayousuf6135
@osamayousuf6135 Жыл бұрын
React Redux Tutorial For Beginners | Redux Toolkit Tutorial 2021
53:26
Redux - Complete Tutorial (with Redux Toolkit)
37:01
Cosden Solutions
Рет қаралды 159 М.
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 13 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 44 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 18 МЛН
React Redux (with Hooks) Crash Course
48:00
Laith Academy
Рет қаралды 208 М.
CRUD Operation With React and Redux Toolkit
46:31
Cand Dev
Рет қаралды 35 М.
Learn Redux Toolkit in under 1 hour
58:10
Hitesh Choudhary
Рет қаралды 120 М.
Redux For Beginners | React Redux Tutorial
39:43
developedbyed
Рет қаралды 1,2 МЛН
Redux Tutorial (with Redux Toolkit)
19:28
Net Ninja
Рет қаралды 342 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 455 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 905 М.
Ждёшь обновление IOS 18? #ios #ios18 #айоэс #apple #iphone #айфон
0:57