Create an editor for the lifetime of the component. The instance is created eagerly (headless creation touches no DOM, so this is SSR-safe) and destroyed on unmount; StrictMode's double-invoked effects are handled by recreating a destroyed instance.
Create an editor for the lifetime of the component. The instance is created eagerly (headless creation touches no DOM, so this is SSR-safe) and destroyed on unmount; StrictMode's double-invoked effects are handled by recreating a destroyed instance.