React Redux Toolkit with TypeScript

  Рет қаралды 50,662

Sakura Dev

Sakura Dev

Күн бұрын

Пікірлер: 56
@BusinessWolf1
@BusinessWolf1 Жыл бұрын
> makes tutorial > doesn't explain shit > shows what to do not why amazing.
@abhimanranaweera1695
@abhimanranaweera1695 Жыл бұрын
Great tutorial. Thank you so much! I followed the tutorial and try this myself and found 2 issues on the code. 01. We need to wrap the App component using provider and pass the store.. ( anyway your git code this was fixed) 02. Since you have used a form element for add component need to prevent default behaviour since it refresh with submission. I handed it by e.preventDefault in onSubmit. (Anyway your git repo you have used a div instead of a form) This is great tutorial and cleared my few doubts. Thanks again!
@maksymdudyk1718
@maksymdudyk1718 7 ай бұрын
Thank you for providing github repository for this tut of yours.
@SakuraDev
@SakuraDev 7 ай бұрын
You are welcome!
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars Жыл бұрын
simple and to the point, thank you :)
@SakuraDev
@SakuraDev Жыл бұрын
You're welcome!
@rohitghosh4625
@rohitghosh4625 10 ай бұрын
Using forms in the Add.tsx was making the whole page to reload... so here you can just remove the or change it to normal div component :)))
@Grane00
@Grane00 7 ай бұрын
your typing speed is amazing
@SakuraDev
@SakuraDev 7 ай бұрын
😊
@Reaper_f30
@Reaper_f30 Жыл бұрын
this was such a great, last time i used redux was 2 years ago with angular work app, redux has come so far, using react and mobx state tree at work, but going to switch us to redux see how much its reduced in boilerplate and makes use of hooks.
@aleksandarmihaylov6884
@aleksandarmihaylov6884 10 ай бұрын
Do you have a video how to createAsyncThunk using middleware with react, redux toolkit and typescript ?
@sdfsdfsdffdsfsdfsd123
@sdfsdfsdffdsfsdfsd123 Жыл бұрын
can you please share link for next video with sync method? Great video !!!
@SakuraDev
@SakuraDev Жыл бұрын
Hi, here is the link to async thunks: kzbin.info/www/bejne/p5bHlKhvitZ7sNk
@liamkao1653
@liamkao1653 Жыл бұрын
its took me 1hr to find the bug: when I click "Add" button and get a page reload, the reason is you should not use "" at Add component, you need just use "" ...., at 8:55
@noir4356
@noir4356 Жыл бұрын
Thank you for this comment, it just saved me that one hour !
@kyoshinoda2214
@kyoshinoda2214 Жыл бұрын
alternative solution: Inside the form add the attribute onSubmit={(event) =>{event.preventDefault()}} this prevents the form from being submitted hence rendering the page propertly. But a div is a way faster and easier solution
@blackmagic9921
@blackmagic9921 5 ай бұрын
Many thanks, btw what is your font. It look better than the one i'm currently using
@SakuraDev
@SakuraDev 5 ай бұрын
Hi, 👋 Thanks 🙏. The theme is the bearded theme and the font is jetbrains
@JnDv777
@JnDv777 Жыл бұрын
Nice tutorial, thanks bro!!!!
@SakuraDev
@SakuraDev Жыл бұрын
Thank you for your kind words and support! I'm pleased to hear that you found my tutorial informative and helpful. I'll keep working hard to create tutorials that meet your needs and deliver value to my subscribers.
@okbaalla8451
@okbaalla8451 Жыл бұрын
P.E.R.F.E.C.T ❤❤❤❤❤ thanks a lot!
@ДанилДмитриев-я5м
@ДанилДмитриев-я5м Жыл бұрын
you helped me, thanks
@SakuraDev
@SakuraDev Жыл бұрын
Glad I could help
@prokhorov_sergey_igorevich
@prokhorov_sergey_igorevich Жыл бұрын
So useful, thank you!
@SakuraDev
@SakuraDev Жыл бұрын
thanks🌷 I am glad it was helpful for you
@NikosCGGICarried
@NikosCGGICarried Жыл бұрын
what is your vcode color theme?
@SakuraDev
@SakuraDev Жыл бұрын
Hi, One Dark Pro
@sekhar6753
@sekhar6753 7 ай бұрын
what is the difference between useSelector and useAppSelector ?
@SakuraDev
@SakuraDev 7 ай бұрын
Hi, useAppSelector is a custom hook that is specifically designed to be used with Redux Toolkit. It is a wrapper around useSelector that provides type safety for your selectors. This means that it will help you to avoid errors by ensuring that the data you are selecting from the store is of the correct type.
@sekhar6753
@sekhar6753 7 ай бұрын
@@SakuraDev ok thanks for responding
@jayzg60
@jayzg60 8 ай бұрын
You forgot to include an essential step which is wrapping the app component in the index.tsx with a provider/ Something like this on your index.tsx: import { Provider } from 'react-redux' import { store } from './Store/store'; const root = ReactDOM.createRoot( document.getElementById('root') as HTMLElement ); root.render( );
@SakuraDev
@SakuraDev 8 ай бұрын
Oh did I?
@ashwinpatidar2878
@ashwinpatidar2878 Жыл бұрын
Nice explanation.
@SakuraDev
@SakuraDev Жыл бұрын
Glad you liked it
@mystory5328
@mystory5328 2 жыл бұрын
Thanks your content. Can you make a big project based on typescript redux toolkit.
@mystory5328
@mystory5328 2 жыл бұрын
@@SakuraDev thanks a lot. I am looking forward of your typescript toolkit project 😀.
@mystory5328
@mystory5328 2 жыл бұрын
@@SakuraDev yes, you can add some features to make the project bigger or follow the amazon features.
@fuad2069
@fuad2069 Жыл бұрын
Thank you for the video
@jasmeetsonu2902
@jasmeetsonu2902 Жыл бұрын
Appreciated Thanks
@SakuraDev
@SakuraDev Жыл бұрын
🌹🙏
@kimhwanhoon
@kimhwanhoon Жыл бұрын
thank you !
@SakuraDev
@SakuraDev Жыл бұрын
Thanks, I hope it was helpful for you
@waynemutai3341
@waynemutai3341 2 жыл бұрын
Thank You So Much!!
@_kenabey_
@_kenabey_ 3 ай бұрын
Great!
@SakuraDev
@SakuraDev 3 ай бұрын
🙏
@maskman4821
@maskman4821 2 жыл бұрын
Sir, you should introduce Zustand to people, because it is way so easy to use than redux, no boilerplate, easy to read and understand, we only need to deal with state(variable) and action/function, straight to the point, it doesn't make sens to use redux/redux toolkit to make life tough😅
@shebeeradimaly6125
@shebeeradimaly6125 2 жыл бұрын
can you make in react native typescript....?
@martapfahl940
@martapfahl940 2 жыл бұрын
At least this counts for me: I want to learn what I will need in my first Junior Dev Job, not what is most convenient for me ;)
@shebeeradimaly6125
@shebeeradimaly6125 2 жыл бұрын
good ..thanks
@junsgk
@junsgk Жыл бұрын
Who is using redux in 2023.
@SakuraDev
@SakuraDev Жыл бұрын
Hi, in fact I am using Zustand in my last real world project and I am happy with that. But as of 2023, many top companies and organizations still use Redux in their projects. Redux provides a predictable and centralized way to manage application state, making it easier to debug and maintain large codebases. It also has a vibrant community and plenty of learning resources available online.
@mjunaid3037
@mjunaid3037 2 жыл бұрын
thnk you
@HousseinDroubi-o9i
@HousseinDroubi-o9i 8 ай бұрын
Hey
@grebnik89
@grebnik89 6 ай бұрын
It doesn't work in july 2024
@SakuraDev
@SakuraDev 6 ай бұрын
I will update the video soon
Async Thunks in React Redux Toolkit with TypeScript
12:36
Sakura Dev
Рет қаралды 21 М.
Redux - Complete Tutorial (with Redux Toolkit)
37:01
Cosden Solutions
Рет қаралды 269 М.
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 215 М.
RTK Query in React (Complete Tutorial)
29:23
Cosden Solutions
Рет қаралды 19 М.
CreateSelector in Redux Toolkit with TypeScript
13:54
Sakura Dev
Рет қаралды 13 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 913 М.
React Redux Tutorial For Beginners | Redux Toolkit Tutorial 2021
53:26
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 498 М.
It FINALLY happened
2:45
Matt Pocock
Рет қаралды 36 М.
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН