1\. Svelte stores를 생성하고 타입을 정의2.Svelte 컴포넌트에서 Store 사용하기Store를 정의한 후에는 Svelte 컴포넌트에서 해당 Store를 사용할 수 있다.subscribe : Svelte에서 상태 변화를 감지하고 컴포넌트가 해당 상태에