Learn This Before React Compiler

Publicado el: 29 mayo 2024
en el canal de: LifeLoveAndMonads
495
36

You don't need to know how car actually works in order to be able to drive it, you will have some understanding anyway. Same with writing React code, you can write it based on some wrong ideas about how its rendering actually works, but if you really understand when and why React renders, you will write much better React code.

0:00 - Intro
0:25 - Most common misconception about what causes React to render
0:38 - When React renders?
1:19 - Example of simple React rendering
3:06 - Batching setStates in one rendering pass
4:39 - React.memo() function and why we need it
5:41 - Main pitfall of React.memo() function
6:47 - One extra reason to render - useSyncExternalStore
7:54 - React Context second reason to extra render
8:58 - React rendering mental model summary


En esta página del sitio puede ver el video en línea Learn This Before React Compiler de Duración hora minuto segunda en buena calidad , que subió el usuario LifeLoveAndMonads 29 mayo 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 495 veces y le gustó 36 a los espectadores. Disfruta viendo!