Stack item creation and destruction promises
The current solution probably leads to errors when the editor is being created and the watchdog tries to destroy it before it is actually created. See ckeditor/ckeditor5-react#241.
We should rather stack these promises so after performing the createEditor and destoryEditor actions, the watchdog should wait on the first one, and once the first is ready perform the second action, and so on.
@ma2ciek which iteration will have a fix for above issue?
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).