10 React Hooks Explained // Plus Build your own from Scratch

10 React Hooks Explained // Plus Build your own from Scratch

Fireship

3 года назад

1,453,336 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@jasim-dev
@jasim-dev - 25.10.2024 22:22

svelte is the best but i gotta go with react🥴

Ответить
@mrkaro7468
@mrkaro7468 - 10.10.2024 18:16

Took me around 6 hours to understand everything in this video

Ответить
@albertkim1809
@albertkim1809 - 01.10.2024 19:26

Thank you for this video - as a boomer coming from the old class-based ways, I wasn't up to speed on all of the built-in hooks.

Ответить
@bigbadcatbigbcy2933
@bigbadcatbigbcy2933 - 21.08.2024 17:27

Actually you can create every hook in javascript. It's not that hard

Ответить
@CodeWithRains
@CodeWithRains - 27.07.2024 12:28

hey i am having problem in Not-Found.tsx, it is reloading the page when hitting inlivaid url so i am loosing the context . how can i configure the page not found , it is simple page which is having the home button using Link from navigations

Ответить
@Edutrul
@Edutrul - 25.06.2024 21:19

Very good explanation. Thank you.

Ответить
@harishacker
@harishacker - 18.06.2024 23:31

i love you

Ответить
@bariqdharmawan6604
@bariqdharmawan6604 - 11.06.2024 20:30

You should update this video for current year 😅

Ответить
@saifsmairi
@saifsmairi - 06.06.2024 17:12

the only hooks i use are useState and useEffect

Ответить
@saviodev777
@saviodev777 - 01.06.2024 07:52

thanks

Ответить
@HugoSanchez-kd7qz
@HugoSanchez-kd7qz - 27.05.2024 22:04

Thank you for this! Used this a refresher and absolutely loved it. Wish we had a few more examples of each hook.

Ответить
@kartikayjoshi9912
@kartikayjoshi9912 - 20.04.2024 15:09

Buddy...react is not a framework its a library.

Ответить
@connorbaltich2567
@connorbaltich2567 - 12.04.2024 15:23

I watch these in bed when I can’t sleep

Ответить
@AmiraKhaled-ul6li
@AmiraKhaled-ul6li - 31.03.2024 08:05

Why isn't there any subtitles?

Ответить
@KachiYES
@KachiYES - 14.03.2024 17:37

what the hell mann

Ответить
@DenisBourveau
@DenisBourveau - 06.03.2024 18:53

what does any of this mean

Ответить
@MrRAHUL7777777
@MrRAHUL7777777 - 21.02.2024 22:05

You completed the 3 months topic in few minutes . Great work 👏

Ответить
@Lifeincuts
@Lifeincuts - 13.02.2024 07:09

This video really helped me a lot, Im doing the Meta certification but they guy explaining this on the course sounds like an NPC.

Thank you Jeff!

Ответить
@JoshuaClancy12
@JoshuaClancy12 - 31.01.2024 03:00

Is it scary building a tutorial with all the constant updates in JavaScript world?

Ответить
@yairvolloch1556
@yairvolloch1556 - 18.01.2024 00:26

Isn't the useEffect teardown running before every re-render? Well maybe that's actually componentWillUnmount

Ответить
@blackty6922
@blackty6922 - 12.01.2024 18:12

people pays to learn react hooks it cost them almost +100hour or less while this guy just appears on my screen and nailed it in fucking 13 min all you have to do now is to practice this hooks now and you good ; )

Ответить
@fieryscorpion
@fieryscorpion - 09.01.2024 23:13

I learned Angular 17 (that has Signals goodness) first and started learning React and hate React.

Ответить
@davidkurniawan1358
@davidkurniawan1358 - 28.12.2023 15:34

please provide subtittle please

Ответить
@emptybottle1200
@emptybottle1200 - 20.12.2023 12:04

ahhhhhh i still cant get the use of useEffect 😢

Ответить
@bluematter435
@bluematter435 - 01.12.2023 00:31

hey i used ti really dislike react, because it seemed like a difficult way of doing something that i can do easily.
i only taught that because i found it difficult to understand.
but it ain't so complicated, and its pretty useful.
thank you for explaining it in such a clear straightforward way.

i know how to work the backend, if i can get the front end,
there you go, fullstack dev

Ответить
@tth-coulid
@tth-coulid - 29.11.2023 05:51

By the operation of this video react is harder than angular.

Ответить
@chinmayamayanale4435
@chinmayamayanale4435 - 18.11.2023 22:35

React is a library, not a framework.

Ответить
@alvaro1728
@alvaro1728 - 10.11.2023 10:36

So should we always use useCallback when defining event handlers? Not doing so will cause the component with the handler to re-render on every state change, right?

Ответить
@harikrishnanmidhun1644
@harikrishnanmidhun1644 - 02.11.2023 01:21

Thanks ! This is so comprehensive and entertaining.

Ответить
@marccawood
@marccawood - 30.10.2023 17:56

Is there any framework in existence which can bind data to the DOM without forcing devs to use setters? In my experience if you bind a variable there are certain manipulations you cannot do without it becoming unbound.

Ответить
@rotemxx
@rotemxx - 25.10.2023 15:15

Great video, thanks !

Ответить
@ombhagwani7407
@ombhagwani7407 - 24.10.2023 13:21

i was here to revise my concepts and you got it all covered in 13mins , thanks a lot .!!

Ответить
@grzegorzbrzeczyszczykiewic199
@grzegorzbrzeczyszczykiewic199 - 17.10.2023 20:34

you didn't put ";" at the ends of some lines. is this a mistake?

Ответить
@bakhtiyor_sulaymonov
@bakhtiyor_sulaymonov - 10.10.2023 12:29

Thanks for the video

Ответить
@lathagm666
@lathagm666 - 04.10.2023 06:47

Thank you

Ответить
@willian3673
@willian3673 - 25.09.2023 06:45

amgular best framework ever

Ответить
@ByteBuf
@ByteBuf - 22.09.2023 22:41

Amazing work, learned more here than I have in years!

Ответить
@3sgtecelica
@3sgtecelica - 19.08.2023 17:59

What a confusing way of naming the hooks. useContext/ useEffect/ etc no way describes what they are doing. This is like naming your function that multiplies two variables useShoe. Why tf is this language so popular

Ответить
@thatWebGuySolutions
@thatWebGuySolutions - 10.08.2023 06:23

Good stuff!

Ответить
@beehack
@beehack - 07.08.2023 19:24

thanks

Ответить
@rpf23543
@rpf23543 - 03.08.2023 22:11

Awesome content!!!! Please more of this kind! Thank you so much!

Ответить
@RockmanExecute
@RockmanExecute - 22.07.2023 23:23

Amazing video. I think the React documentation (even the new one) pretends like things are more complicated than they actually are, and this kind video really demystifies it by filtering out all the jargon.

Ответить
@ErShikharChauhan
@ErShikharChauhan - 22.07.2023 20:12

awesome content!! small suggestion in useRef lets use the click() event inside some useEffect block otherwise myBtn.current will give undefined as jsx is not done yet.

Ответить
@axelgoh2123
@axelgoh2123 - 18.07.2023 05:40

GOAT react vid thanks man

Ответить
@joshuariggleman4791
@joshuariggleman4791 - 17.07.2023 23:09

One thing, I think React is a library, not a framework

Ответить