Загрузка страницы

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: https://twitter.com/kentcdodds

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 https://twitter.com/bytesizedcode

🐦 Follow your host Kristian on Twitter https://twitter.com/signalnerve

Join our Discord: https://www.bytesized.xyz/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! https://www.bytesized.xyz

Видео Simply React - Kent C. Dodds (Byteconf React 2020 Keynote) канала Code With Kristian
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
11 мая 2020 г. 20:51:34
00:32:21
Яндекс.Метрика