React. 5 Consejos para evitar “wasted renders”

5 técnicas para evitar los wasted renders de React y optimizar tu aplicación

Image for post
Image for post

Virtual DOM

Image for post
Image for post
Image for post
Image for post

Identificando wasted renders

Image for post
Image for post
Image for post
Image for post

Método shouldComponentUpdate

Image for post
Image for post

Pure Components

React Memo

Image for post
Image for post
Image for post
Image for post

Datos inmutables

Image for post
Image for post

Evitar pasar una nueva referencia para la misma información

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Conclusión

¿Quieres recibir más artículos como este?

Entre paseo y paseo con Simba desarrollo en Symfony y React

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store