This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
State persists between re-renders because React stores it in the tree node, not in function scope or closures.
You've completed the free preview. Subscribe to unlock every lesson in every course.