Simply React - Kent C. Dodds (Byteconf React 2020 Keynote)
“Simply React“ (Keynote) - Kent C. Dodds at #Byteconf React 2020
Follow Kent C. Dodds on Twitter:
One of the things I love about React is how easy it is to encapsulate UI code into a component or hook. I love this because it makes reuse of those things easy. But is it easy? I’ve made my fair share of components that had to accept a bunch of props to handle a growing list of different use cases resulting in a complex render function full of conditional statements and a confusing API for people using this “reusable“ component. Eventually it becomes too much and I had to make a new version of the same component to handle slightly different use cases. Lots of code/bug duplication there because my reusable component wasn’t reusable enough.
There are patterns that have emerged in React that allow you to promote code reuse without sacrificing the simplicity or flexibility of the component. In this talk we’ll go over several of these patterns that will make your React components and hooks more useful.
#Byteconf React 2020, a fully remote free two-day React conference, went live on May 1st & 2nd, 2020. Subscribe to our channel so you don’t miss our future free events!
🐦 Follow Bytesized Code on Twitter
🐦 Follow your host Kristian on Twitter
Join our Discord:
---
💛 BYTESIZED CODE is building a developer community for everyone! We publish weekly programming tutorials and guides, and also produce the unique online conference Byteconf, where developers around the world learn in a live-streamed, 100% free dev conference. Join our community!
1 view
21
4
2 months ago 00:17:17 1
Diana Ankudinova - Can’t Help Falling In Love (Live) First Time Hearing | REVIEWS AND REACTIONS
2 months ago 00:12:21 1
How Mario Kart 64 Cheats against you
2 months ago 00:10:40 1
Best Reactions TARAS STANIN Beatbox
2 months ago 00:03:16 1
Saab JAS 39E Gripen E From Final Assembly To Jet Fighter
2 months ago 00:21:18 1
Heilung - LIFA (Live In Maidjan) First Time Hearing | REVIEWS AND REACTIONS
3 months ago 00:11:43 1
Pussy Riot - CHAIKA (Official Music Video) REVIEWS AND REACTIONS
3 months ago 00:13:23 1
The Pretty Reckless - Only Love Can Save Me Now (Official Music Video)║REACTION!
3 months ago 00:00:17 1
The Real Destiny 2 End Game?
3 months ago 00:26:49 1
You Are The Chosen One – How People See The Signs In You
3 months ago 00:09:10 1
Sound Engineers REACT | Whitechapel - A Visceral Retch
3 months ago 00:08:19 1
Update Video: 9/23/ 2024 HALLOWEEN
3 months ago 00:18:27 1
Реакция немца на Мэри Попинс - до свидания [Русские субтитры]
3 months ago 00:04:33 1
Stray Cats - Runaway Boys (Live At Montreux 1981)
3 months ago 00:22:24 1
TOP 10 BEST (UK) BASS (LINE) HOUSE BANGERS II HCDS 90
4 months ago 00:16:49 1
Реакция немца на Романс Я тебя никогда не забуду! из рок-оперы Юнона и Авось [Русские субтитры]
4 months ago 00:17:43 1
why chosen ones scare and make people feel intimidated
4 months ago 01:04:19 1
Israel’s Sadistic Frenzy of Hate and Revenge – with Israeli activist Sarit Michaeli
4 months ago 00:08:01 1
SHE IS BACK! DIANA ANKUDINOVA - Happiness (Official)║REACTION!
4 months ago 00:23:40 1
9 Ways People Behave When They See YOU As The Chosen One! (Surprising!)
4 months ago 00:10:46 1
MUSIC NEWBIE listens to DIANA ANKUDINOVA (Диана Анкудинова) Rechenka (Age 14 yo)|ALEX REACTS
4 months ago 00:06:53 1
TAEMIN Sexy In The Air | reaction | Проф. звукорежиссер смотрит
4 months ago 00:08:22 1
SF9 Dont Worry Be Happy | reaction | Проф. звукорежиссер смотрит