Custom Hooks in React: The Ultimate UI Abstraction Layer - Tanner Linsley | JSConf Hawaii 2020

Custom Hooks in React: The Ultimate UI Abstraction Layer - Tanner Linsley | JSConf Hawaii 2020

JSConf

4 года назад

73,703 Просмотров

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


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

@alexanderoweka9716
@alexanderoweka9716 - 16.04.2023 15:38

This is an awesome video.

I think Tanner Linsley's approach of using hooks to manage Separation of Concerns (SOC) is 🔥🔥🔥.

Ответить
@Pareshbpatel
@Pareshbpatel - 16.11.2022 15:28

How inspiring is this talk on React custom hooks! - Thanks, Tanner

{2022-11-16}

Ответить
@introsis
@introsis - 17.07.2022 17:43

Regarding useClickOutside, why do "callbackRef.current(e)" and not just "callbackRef.current()"?

Ответить
@Mercio2
@Mercio2 - 02.02.2022 15:00

Nice!

Ответить
@nasheomirro8102
@nasheomirro8102 - 29.01.2022 22:03

watching this video makes me really want to redo this side-project I'm making

Ответить
@rohangaonkar8912
@rohangaonkar8912 - 26.01.2022 11:53

You gave me one more reason to stop using redux. Awesome talk

Ответить
@hugodsa89
@hugodsa89 - 30.06.2021 08:04

I was getting the feeling that was slowly creating his own Redux as when he made the function makeStore, heavy breathing

Ответить
@rohithsrivathsav6110
@rohithsrivathsav6110 - 03.06.2021 00:15

Wow, you just showed how we can replace redux, redux thunk, redux saga and redux persist with context api and hooks. Really awesome!

Ответить
@pradipspeaks9395
@pradipspeaks9395 - 12.05.2021 06:14

Awesome 🙏 specific how things building up step by step ... And at the end nozzle ❤️

Ответить
@wangguanghui3067
@wangguanghui3067 - 09.05.2021 10:49

Great talk! What tool did you use to highlight syntax?

Ответить
@johannsebastianbach3411
@johannsebastianbach3411 - 08.04.2021 17:25

This talk is amazing!! Thank you Tanner!!

Ответить
@RogerFederer777
@RogerFederer777 - 07.04.2021 18:18

The foundations of react-query :)

Ответить
@roselpadilla
@roselpadilla - 31.03.2021 07:53

Really great talk, seems like we've come full circle on MVC lol

Ответить
@harshvats4426
@harshvats4426 - 15.03.2021 14:59

One of the best videos on react hooks 👌

Ответить
@dipenparmar2273
@dipenparmar2273 - 04.03.2021 18:00

Great talk linskey.... thank you very very much 😅

Ответить
@jeromelanteri321
@jeromelanteri321 - 08.12.2020 09:49

fantastic tutorial, you really know to express yourself and what you said was pretty clear and efficient. You are really one of the best around. Thank you very much.

Ответить
@juraev0056
@juraev0056 - 08.11.2020 14:21

This must be the best talk on hooks.

Ответить
@Famouzi
@Famouzi - 03.09.2020 15:52

Thats great! Do you guys know any github repo which uses this approach?

Ответить
@ArihantAV
@ArihantAV - 03.09.2020 10:53

The useClickOutside wouldn't work with portals. Great talk! I've added it in our company's doc for must watch react videos 💃🏽

Ответить
@xerxius5446
@xerxius5446 - 22.08.2020 19:00

Custom Hooks - " It's free real estate "

Ответить
@fireystella
@fireystella - 22.06.2020 06:51

so cool! gonna try this logic next time i code!

Ответить
@michaelblum4557
@michaelblum4557 - 29.05.2020 05:52

Thanks Tanner, this was a really, really great little talk. This paradigm is a catch all - a boon for performance, cleanliness of code and readability, as well as developer experience and ease of implementation, recycling of code/cannibalization...

Ответить
@DimaBiletskyy
@DimaBiletskyy - 19.04.2020 19:57

Great presentation. I like the way you structure app logic with hooks. I'm going to try this approach in my project. It looks very clean.

Ответить
@razajamil2534
@razajamil2534 - 05.04.2020 12:05

Great talk. I have a big smile on my face because I moved our team to almost exactly this way of developing and it's been a huge improvement. Lot's of reusable business logic means we get to spend more time creating really awesome UIs and worry less about bugs. That bit about all your data being a hook is exactly how I imagined hooks would be used once the dust settled, if you think about it it's kind of obvious.


Before hooks, you had to go through the render method to share functionality, looking back that seems insane. Why on earth do I have to pollute my render method to use some business logic? React was incomplete pre-hooks in this line of thinking.


Can't imagine life without hooks now!

Ответить
@bernardleech5007
@bernardleech5007 - 04.04.2020 14:02

Thank you for this awesome talk, Tanner. So many great ideas packed into less than 30 minutes.

Ответить
@markizs
@markizs - 31.03.2020 22:43

is the code from the presentation available also in the form of blogpost or repo?

Ответить
@josephowonwo6547
@josephowonwo6547 - 30.03.2020 02:17

I loved every part of this video. Thanks Tanner Linsley

Ответить
@devmrin
@devmrin - 29.03.2020 16:20

Thanks Tanner! Very well explained.

Ответить
@tatendachawanzwa8439
@tatendachawanzwa8439 - 29.03.2020 12:55

Nice! After reading Kent Dodds blogs this is the perfect video to follow on!

Ответить
@robertcarsten3127
@robertcarsten3127 - 29.03.2020 10:45

This has been incredibly insightful for how my team and I go about structuring logic inside our react apps. There is always that base nausea over import flood in a react component but I think if you can manage to push through that this design pattern has a tonne of advantages in most use cases.


Also cannot praise React Query enough, dead simple library that alleviates a lot of boilerplate for our codebase

Ответить
@Joaodjtr
@Joaodjtr - 29.03.2020 08:03

But where do you keep this custom hooks files? In a helper folder? Or in a folder named "customHooks"?

Ответить
@MudasarRauf
@MudasarRauf - 29.03.2020 01:59

very informative and explaining

Ответить
@sandeepkumar-nm2qc
@sandeepkumar-nm2qc - 29.03.2020 00:59

I love js

Ответить