Skip to content

fixes bug with useEditorEffect being called with an already-unmounted EditorView#160

Merged
saranrapjs merged 2 commits into
mainfrom
fix-destroyed-effect
Mar 17, 2026
Merged

fixes bug with useEditorEffect being called with an already-unmounted EditorView#160
saranrapjs merged 2 commits into
mainfrom
fix-destroyed-effect

Conversation

@saranrapjs
Copy link
Copy Markdown
Member

@xopher-b found (and proposed this fix) to this bug on the @nytimes/react-prosemirror implementation, which is also now memorialized in a test. Once we merge, we can actually release this as part of the 2.0 release we previously scheduled but didn't actually publish to npm.

@saranrapjs saranrapjs requested review from a team and smoores-dev as code owners March 17, 2026 15:06
@saranrapjs saranrapjs merged commit 544eb21 into main Mar 17, 2026
2 checks passed
@saranrapjs saranrapjs deleted the fix-destroyed-effect branch March 17, 2026 16:41
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.

2 participants