4 ms·
> and use it only on page refresh Doesn't that mean you can never reflect state updates in the DOM without refreshing the whole page? > I have never understoo
by adamerose 4y ago
> and use it only on page refresh
Doesn't that mean you can never reflect state updates in the DOM without refreshing the whole page?
> I have never understood why people find state management challenging
Automatically determining what DOM objects need to be updated in response to a change in state and updating them without a page refresh adds a lot of complexity, if you completely ignore that requirement then state management would be simple like you said.