Refs in React: from access to DOM to imperative API

  Рет қаралды 4,835

Developer Way

Developer Way

Күн бұрын

Пікірлер: 27
@dimau
@dimau Жыл бұрын
Спасибо за такую хорошую глубину разбора материала и восхитительную подачу! Раскладывает по полочкам в голове сложные темы :)
@developerwaypatterns
@developerwaypatterns Жыл бұрын
Thank you for the kind words! 😊
@userJakov
@userJakov Жыл бұрын
@@developerwaypatternsдобрый вечер, а у вас нет книг на русском языке?
@developerwaypatterns
@developerwaypatterns Жыл бұрын
@@userJakov Unfortunately, no :(
@thiagopuntar
@thiagopuntar Жыл бұрын
Oh, missed you! Thank you so much for all your articles. Please keep doing more and more!😍
@fal8202
@fal8202 Жыл бұрын
thank you for this well explained and nicely animated video, so much easier to understand
@elik3765
@elik3765 Жыл бұрын
Thank you very much! As always, to the point and I don't think I have seen better visuals anywhere around, I think they ccontribute well to your brands defferentiation when compared to code-along vids. Article and a vid is my favorite combination. To me, it's like an article is for sharpening my knowledge, video - for honing )
@developerwaypatterns
@developerwaypatterns Жыл бұрын
Thank you! 😊
@gaddp
@gaddp Жыл бұрын
super clear video with a beautiful example. thanks Nadia!
@Viral_vittles
@Viral_vittles 2 ай бұрын
Thats a pure magic u teaching, feels like I am in the Castle of Hogwarts
@vinitraut18
@vinitraut18 11 ай бұрын
Thanks Nadia, great content as always!!!
@marouaniAymen
@marouaniAymen Жыл бұрын
Thanks for the video, I used the same pattern like you, but for using conditionals in order to activate/deactivate styles, I call the clsx library in order to toggle CSS classe names.
@devquen7688
@devquen7688 Жыл бұрын
wow, this is the video containing all of the knowledge about useRef as I know 🤯
@katsunoi
@katsunoi Жыл бұрын
great video!
@assylzhanshabkhatov
@assylzhanshabkhatov Жыл бұрын
Really useful guide. Thanks!
@anuragkanwar1844
@anuragkanwar1844 Жыл бұрын
Love your blogs !! and now video content is cherry on top
@nicolasmenescardi4077
@nicolasmenescardi4077 Жыл бұрын
Love your videos!! Thanks!
@thiagomasseno2550
@thiagomasseno2550 6 ай бұрын
There's something i didn't get ... is about the moment on your video "time 3 minutes and 49 seconds" i have a doub . The value i need to put into the property ref = " " in a tag have must to be the same name of variable who has the useRef() at the line 3 from the code on the video ?
@TheProfessionalGambler
@TheProfessionalGambler Жыл бұрын
Does React have any differences or caveats between inputRef={ref} and forwardRef()? It looks like the ref is just a unified version of the ref transfer in these cases.
@developerwaypatterns
@developerwaypatterns Жыл бұрын
They are pretty much the same, yeah
@sushantrajbanshi4508
@sushantrajbanshi4508 Жыл бұрын
So the *forwardRef* & *useImperativeHandle* are just syntactic sugars over manually passing refs & mutations ? Or are there any performance benefits on using them ?
@developerwaypatterns
@developerwaypatterns Жыл бұрын
Yep, exactly. I'm not aware of any performance benefits of those vs just manually passing ref around, and I doubt there can be any.
@aeldarets
@aeldarets 7 ай бұрын
How is this going to work with TypeScript?
@developerwaypatterns
@developerwaypatterns 7 ай бұрын
same as with javascript
@aaryansj8016
@aaryansj8016 9 ай бұрын
Thanks... Wonderful Vidoes
@ikbo
@ikbo 9 сағат бұрын
have you thought of releasing a react 19 course so you can take my money?
@developerwaypatterns
@developerwaypatterns 2 сағат бұрын
thought about it, maybe some day :)
The mystery of React key: how to write performant lists
13:22
Developer Way
Рет қаралды 6 М.
Fantastic closures and how to find them in React
19:04
Developer Way
Рет қаралды 12 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
Preventing re-renders with React.memo
11:39
Developer Way
Рет қаралды 6 М.
React JS #12 Ссылки (Refs)
9:47
webDev
Рет қаралды 18 М.
Un-Suck Your React Components - Composable & Compound Components
15:47
Never Forget React forwardRef Again
9:33
Coding in Public
Рет қаралды 24 М.
React useRef and forwardRef in depth
10:32
Fullstack Simplified
Рет қаралды 25 М.
Why React components re-render?
13:30
Developer Way
Рет қаралды 14 М.
React reconciliation: how it works and why should we care
15:18
Developer Way
Рет қаралды 13 М.
React Refs Explained with Examples | React useRef Tutorial
10:31
Coding With Chaim
Рет қаралды 8 М.
useCallback for re-renders: remove most of them
8:31
Developer Way
Рет қаралды 8 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН