Artwork

Contenido proporcionado por Frontend First, Sam Selikoff, and Ryan Toronto. Todo el contenido del podcast, incluidos episodios, gráficos y descripciones de podcast, lo carga y proporciona directamente Frontend First, Sam Selikoff, and Ryan Toronto o su socio de plataforma de podcast. Si cree que alguien está utilizando su trabajo protegido por derechos de autor sin su permiso, puede seguir el proceso descrito aquí https://es.player.fm/legal.
Player FM : aplicación de podcast
¡Desconecta con la aplicación Player FM !

Render props

34:43
 
Compartir
 

Manage episode 438402423 series 1635850
Contenido proporcionado por Frontend First, Sam Selikoff, and Ryan Toronto. Todo el contenido del podcast, incluidos episodios, gráficos y descripciones de podcast, lo carga y proporciona directamente Frontend First, Sam Selikoff, and Ryan Toronto o su socio de plataforma de podcast. Si cree que alguien está utilizando su trabajo protegido por derechos de autor sin su permiso, puede seguir el proceso descrito aquí https://es.player.fm/legal.

Sam and Ryan talk about render props in React. They discuss where they came from, how Hooks superseded them for sharing stateful logic, how data attributes compare to them for customizing styling, and how for certain complex components like forms they're still a great solution for accessing slices of internal state.

Timestamps:

  • 0:00 - Intro
  • 3:40 - Where did render props come from?
  • 6:01 - How hooks replaced many use cases for render props
  • 8:14 - Using render props for custom styling
  • 10:32 - Data attributes vs. render props for custom styling
  • 16:43 - Using render props to peek into an uncontrolled component's internal state
  • 21:05 - Forms example and using render props for a smaller public API
  • 24:10 - React docs mention of render props
  • 25:48 - Where render props shine

Links:

  continue reading

195 episodios

Artwork

Render props

Frontend First

212 subscribers

published

iconCompartir
 
Manage episode 438402423 series 1635850
Contenido proporcionado por Frontend First, Sam Selikoff, and Ryan Toronto. Todo el contenido del podcast, incluidos episodios, gráficos y descripciones de podcast, lo carga y proporciona directamente Frontend First, Sam Selikoff, and Ryan Toronto o su socio de plataforma de podcast. Si cree que alguien está utilizando su trabajo protegido por derechos de autor sin su permiso, puede seguir el proceso descrito aquí https://es.player.fm/legal.

Sam and Ryan talk about render props in React. They discuss where they came from, how Hooks superseded them for sharing stateful logic, how data attributes compare to them for customizing styling, and how for certain complex components like forms they're still a great solution for accessing slices of internal state.

Timestamps:

  • 0:00 - Intro
  • 3:40 - Where did render props come from?
  • 6:01 - How hooks replaced many use cases for render props
  • 8:14 - Using render props for custom styling
  • 10:32 - Data attributes vs. render props for custom styling
  • 16:43 - Using render props to peek into an uncontrolled component's internal state
  • 21:05 - Forms example and using render props for a smaller public API
  • 24:10 - React docs mention of render props
  • 25:48 - Where render props shine

Links:

  continue reading

195 episodios

Todos los episodios

×
 
Loading …

Bienvenido a Player FM!

Player FM está escaneando la web en busca de podcasts de alta calidad para que los disfrutes en este momento. Es la mejor aplicación de podcast y funciona en Android, iPhone y la web. Regístrate para sincronizar suscripciones a través de dispositivos.

 

Guia de referencia rapida