Mastering Typescript State Management using Redux

preview_player
Показать описание
We continue our series on state management with React and Typescript by looking at how to properly type Redux and Redux Thunk.

Hope you folks enjoy this!
👉 If you enjoy this video, please like it and share it.

💢 Watch our other videos:

Thank you for watching this video, click the "SUBSCRIBE" button for stay connected with this channel.

#reactjs #typescript
Рекомендации по теме
Комментарии
Автор

React/Redux for a to-do app is completely overkill and the boilerplate brings up the question what is the point?! Larger scale apps. Using the state management debugger to get a full stream of actions and state changes is a pleasure. Combine that with middleware( in place of thunk/saga's) one is able to remove the vast majority of complexity+side-effects from app components and keep it in one place. I've only recently came across your video's and will hop on discord soon to say hi and have a chat as love the quality and direction.

supergoteam
Автор

Hello i'm from korea🇰🇷
I really like your tutorial!! Thank you

leehj
Автор

This was on my todo this week..thanku very much

tech.craftsman
Автор

It's also nice to mention the performance diferences of using redux-hooks vs connect, hooks are now the "recommended" way of implementing redux but... it comes with a price, some of the memoization that you get for free with connect needs to be implemented "by hand" if you decide to go with hooks, and in some large applications this can be a huge performance

vitormalencar
Автор

I cant feel the pain in your voice having to do some of those things... and I'm actually feeling this too, trying to learn Redux coming from Vue using Vuex where everything was so much happier.

lucass.p
Автор

I like you man so much, when you shout, i laugh so much hahaha thank you for this beautiful tutorial

ProgrammingWithOsku
Автор

Good video thank you, I used Redux in a couple of projects. Im not a big fan of Redux. but what is the best way to manage state in a React project in your opinion?

bythealphabet
Автор

Hi Jack, great video. I just wonder if You had lets say 100, 200, 300 actions in Your app would You put them all in this one switch statement?

PaweTkocz
Автор

Hehe.. feels weird to hit the like button when you don't like redux (but like the lecture)

Norfeldt
Автор

thanks for the video. question: how are the actions being sent to the todoReducer?

Jordanprime
Автор

Do you have a plan to create a full app using typescript with ReactJs? I really expect that, thank you btw

danielnguyen
Автор

is there a video where you talk about combine reducers in TypeScript?

Jordanprime
Автор

One more thing that can probably be improved further is to thunkify all the actions in actions.ts and get rid of useDispatch and dispatch(someAction) and use just someAction for all the click handlers, if I understand correctly?

TheRavageFang
Автор

Clean and very well explained. I am a beginner and learnt a lot. Thank you so much for this tutorial and way you explained things. By the way which theme you are using on Visual that gave you the purple effect

RakeshKumar-pbve
Автор

Hey, thanks for great tutorial! You mention that redux is on the way out, do you mean it will be replaced by modern hooks?

zdarofMERGAITES
Автор

Just curious, what is this vscode theme?

brunocmesquita
Автор

Hey Jack, thanks for such a good tutorial! Is there any difference with live videos?

carlosdavila
Автор

Jack thanks for the video man. Can you tell me how can we make it synchronise using promise

harshav
Автор

Yeah. The world does not spin around React and Redux is used in many other places. 😏 So, it's great you share this. Would be great to talk about dynamic module injection when you want to split the store to avoid the circular dependencies or something like micro front ends. BTW... If people are complaining about the boilerplate then what do they say about CQRS, event sourcing, sagas and all that good stuff which Redux actually is about? I don't understand those people who complains. IMHO Redux has a great concept. It's really clean. How much does that boilerplate actually is in comparison of the rest of the development. 5%?

DzintarsDev
Автор

just wanted to know the theme name it looks dope.

ajaygangwar