React beginners ALWAYS make this useState mistake (do you?)

preview_player
Показать описание
Beginners in React always (well, often) make this useState, which means extra code, and most likely more bugs! Watch this video to learn how to avoid that problem.

Tags: #react #reactfrontend #programming #coding #javascript #typescript
💻 What I used to make this video:

👁️ Follow me:

⚠️ Disclaimer: Some links are affiliate links. If you buy something, I may make a small commission at no additional cost to you. As an Amazon Associate, I earn from qualifying purchases.
Рекомендации по теме
Комментарии
Автор

thank you! i love short form react beginner mistakes type of contents like these!

raves_r
Автор

Great, video!
also what is this vscode theme ?

arsan.developer
Автор

Omg, the trauma of grappling against dependency chains, useeffects firing multiple times, trying to figure out which hook is best to use at the time....

Oh and trying to find out why the component is missing even though I've already added it and there doesn't seem to be any errors anywhere only for it to show up after a restart...

Or are these just me being noob? 😂

hikari
Автор

That’s essentially taking advantage of side effects to update the other values 👍

patrickojeh
Автор

I think we need a debonce beacuse the more texts you input the more calculate need to be process due to the filter function

GameOfflineIsLove
Автор

A question let's say you are making an api call for specific reading times for analytics then i guess we have to use useState to keep a track of that. Am i right?

sg-ckoh