6 State Mistakes Every Junior React Developer Makes

preview_player
Показать описание
React useState tutorial beginner to advanced. React useState best practices and solutions to the most common state problems. Functional update, white screen problem, derived states, and more.

For more projects you can support Lama Dev:

Join Lama Dev groups

00:00 useState Functional Update (Why useState doesn't update immediately?)
02:54 React useState white screen problem fixed
05:56 React useState How to update a specific object property?
09:27 React How to change all inputs with a single onChange?
11:17 useState vs useReducer (When to use?)
12:53 Be careful about React derived states!
Рекомендации по теме
Комментарии
Автор

Hey, I just wanted to let you know that I graduated this year. I finally have my Bachelor degree in management developement. And this is (partially) thanks to you ! I followed your Netflix tutorial and it helped me tremendously for one of my last assignments.

So you can go to sleep tonight knowing you made someone else's life better.

I'm 33 and this bachelor degree is my second one. I decided to study it while working for a job I hated in order to get out of it. It already opened so many opportunities to me and completely changed my professional life and my career perspectives. Thanks a lot, I'll keep following your videos because I learn so much every time.

lionelsamain
Автор

Great content!! Please keep releasing these kind of videos about best practices or dos and don'ts in React. It helps a lot! Thanks for good work!

sefakose
Автор

Wow. I've been developing apps for months and I realized I didn't know 4 of them lol. Thanks for making us better developers. Please share other hooks too.

Corntrop
Автор

Hey Lama, I am going to start working tomorrow at my first software developer job. Thanks to your portfolio videos and other various videos I feel really confident for tomorrow. Thank you for uploading videos like this you are a life saver!

feriduncanselen
Автор

And also, it would be lovely if we start using typescript in both our nodejs and react builds, that also will cut down a lot of these kind of errors. i don't know why no matter how much of tutorials i watch out there, i always still wait for you to implement such stacks before i really feel comfortable with them, cos your explanations sink so well in my brains at just a glance

ferdinandeke
Автор

Thank you for all this lama :) I learnt alot from you in the past year 🥳

rafayzia
Автор

Your insight is pure gold Lama Dev! Thanks for sharing your knowledge & experience~

johnsmith
Автор

Yes please ! Explain all the hooks, everybody needs a refresh and you are very good at explaining.

alecssalecs
Автор

Such an informative video! Many thanks for your tutorials. I've learnt from you a lot!

bad_saurus
Автор

hey, thank you so much for all your vids, especially on React hooks. I like that you make it simple to understand while maintaining content and the rationale behind it. Plus your voice and the way you speak is comforting haha, it helps with the stress of complex topics like this. thank you!

figgsboson
Автор

I've just found your channel, a lot of nice tips here. Thanks!

raphaeljcm
Автор

Great content as always. Ive been using your approach to handle forms ever since your last video about handling forms 👍

dk
Автор

Hello Lama, make please a video about useMemo, useCallback, useReducer)))

operupal
Автор

I love the examples LamaDev uses. He really thinks beforehand about what code snippets are the best to explain concepts. He is a master teacher.

FidelGuajardo
Автор

for the last one, you could wrap the find one in usememo and pass the dependency as id, to prevent calculating it again and again when you have a lot of states.

writegoodcode
Автор

What a refined explanation!!! .This guy knows the core issues that juniors unknowingly do.

MathaGaram
Автор

this is gold, thanks for your time doing this video, and thinking about the proper examples, i will share this on my linkedin. Wish you the best. thank you once more

jotasenator
Автор

Nice tutorial, nice explanation of concepts. And before I forget, YES I want more videos on react hooks

djbashan
Автор

Loved it brother, learning a lot ... Keep it up for us

mayanksinghal
Автор

really great work.. keep it up.. expecting more videos like this... 🙏👏👏

muneess