svelte-store-study

Svelte Store Study

assessing several Svelte stores ๐Ÿงก

Svelte store study

๐Ÿ“š archived

update! Svelte 5 runes made this obsolete, and the new design is some of the most magical programming pain relief I've ever experienced

๐Ÿ“š archived

assessing several Svelte stores ๐Ÿงก ryanatkn.github.io/svelte-store-study

status: basic proof of concept - includes a couple examples for a couple store libraries

intro

The Svelte store has a contract that any object can implement, and the community has created a number of compatible implementations with various features. This project aims to demonstrate these differences so we can learn by example.

The current demos:

  • counter - compares the basic syntax of reading/writing/deriving
  • batch - compares batching strategies for the libraries that support it, and shows why batching is useful

...are implemented for the following stores (when supported):

develop

Windows is not yet supported (we recommend WSL)

gro dev # npm i -g @feltcoop/gro

See SvelteKit, Vite, Svelte, Gro, and Felt for more.

build

gro build

See Gro's build docs for more.

deploy

Deploy (build, commit, and push) to the deploy branch, e.g. for GitHub Pages:

gro deploy

credits ๐Ÿข๐Ÿข๐Ÿข

Svelte โˆ™ Signals โˆ™ Tansu โˆ™ SvelteKit โˆ™ Vite โˆ™ esbuild โˆ™ uvu โˆ™ TypeScript โˆ™ ESLint โˆ™ Prettier โˆ™ Felt โˆ™ @feltcoop/util โˆ™ Gro & more

license ๐Ÿฆ

public domain โš˜ The Unlicense

Top categories

Loading Svelte Themes