Closed KentoMoriwaki closed 2 years ago
I encountered an error TypeError: Cannot read property 'matchesNode' of null when using with react and HMR. (same as https://github.com/ueberdosis/tiptap/issues/1451)
TypeError: Cannot read property 'matchesNode' of null
I just found that y-prosemirror dispatches a transaction even after destroyed, and it's due to failed to clear timeout by wrong use of lib0/eventloop.
lib0/eventloop
Right, thank you!
Will publish a new release in a bit.
I encountered an error
TypeError: Cannot read property 'matchesNode' of null
when using with react and HMR. (same as https://github.com/ueberdosis/tiptap/issues/1451)I just found that y-prosemirror dispatches a transaction even after destroyed, and it's due to failed to clear timeout by wrong use of
lib0/eventloop
.