mirror of
https://github.com/outline/outline.git
synced 2026-11-20 21:23:06 +03:00
React 18+ no longer warns on setState after unmount, so the guards in useRequest, useIdle, ActionButton, useDocumentSave and MultiplayerEditor are removed. The Mentions guards protect an editor transaction against a destroyed node view, so they are replaced with an effect-scoped cancel flag. Both useIsMounted hook files are deleted. Closes #13839