docs
docs copied to clipboard
🐛(frontend) Interlinking memory leak
Purpose
When investigating about a memory leak during collaboration we found a problem with the interlinking that could cause a memory leak.
When doing collaborative editing, doc?.title might be out of sync for other users when updated by another user.
This can cause a useEffect to run repeatedly, causing an infinite loop of updates.
We now trigger the effect only when doc?.title changes, not when the customInlineContent changes.
Proposal
- [x] ⚡️(frontend) improve unsubscribe logic when unmounting components
- [x] 🐛(frontend) fix memory leak in Interlinking
- [x] 🥅(frontend) improve error handling during upload