Saltar al contenido principal
0

Por ahora, esta lección está en inglés.

Giving components memory

A like button has to remember how many likes it has, and the screen has to update when that number changes. That is exactly what state does.