When i add svelte component on page, i create the new exemplar of class.
import ComponentA from "./Component.svelte";
let component = new ComponentA({...});
<ComponentA/>
And every time component destroying and created again.
But I need to save the state of the component.
(example: the display of blocks, position of blocks, text, and much more)
When I create new exemplar, I can put it in global variable. Can I output it from global? Is that real?