Skip to content

Support full state resets#5

Merged
smoores-dev merged 1 commit intomainfrom
state-switch
Oct 24, 2025
Merged

Support full state resets#5
smoores-dev merged 1 commit intomainfrom
state-switch

Conversation

@smoores-dev
Copy link
Member

Previously, if you attempted to update the state prop to a completely new state, we would just ignore the change, because there were no new transactions in the tracking extension. Now, if we detect that the doc has changed without new transactions, we use setState to completely reset the view's state.

@smoores-dev smoores-dev merged commit ab82ff5 into main Oct 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant