Svelte 5 allows state management using runes. On the other hand, we can also manage state using store. This rule prohibits the use of store, thereby restricting state management to runes only.
Description
DO not use store. Please use runes instead.
Examples
<!-- ✓ GOOD -->
let count = $state(0);
/* ✗ BAD */
import { writable, readable, derived } from 'svelte/store';
Motivation
Svelte 5 allows state management using runes. On the other hand, we can also manage state using store. This rule prohibits the use of store, thereby restricting state management to runes only.
Description
DO not use store. Please use runes instead.
Examples
Additional comments
No response