A user profile editor shows a name and email. Editing the name should update it on screen. The name never updates even though the input changes.
Type in the Name field — the displayed name below the inputs never changes. The value in the input itself updates but the profile summary stays stale.
Mutating a state object directly and then calling setState with the same reference does not trigger a re-render — React sees the same object reference and bails out.
Mutating a state object directly and then calling setState with the same reference does not trigger a re-render — React sees the same object reference and bails out.