Skip to main content
0

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.