Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Latest commit

 

History

History
87 lines (62 loc) · 2.99 KB

README.md

File metadata and controls

87 lines (62 loc) · 2.99 KB

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 🐢🐢🐢

SvelteSignalsTansuSvelteKitViteesbuilduvuTypeScriptESLintPrettierFelt@feltcoop/utilGro & more

license 🐦

public domain ⚘ The Unlicense