This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Learn that setState replaces the entire state value—no automatic object merging like class components.
You've completed the free preview. Subscribe to unlock every lesson in every course.