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

ryanatkn/svelte-store-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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