File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ export default defineConfig({
1414 label : "💾 Store" ,
1515 link : "/store" ,
1616 } ,
17- {
18- label : "🔎 Query" ,
19- link : "/query" ,
20- } ,
2117 {
2218 label : "🔎 Scope" ,
2319 link : "/scope" ,
2420 } ,
21+ {
22+ label : "💰 Query" ,
23+ link : "/query" ,
24+ } ,
2525 {
2626 label : "🌊 Stream" ,
2727 link : "/stream" ,
Original file line number Diff line number Diff line change 11---
2- title : Simple Query 🔎
2+ title : 💰 Simple Query
33description : A simple library to query the DOM from your Astro components.
44---
55
6- import { Tabs , TabItem } from ' @astrojs/starlight/components' ;
6+ import { Tabs , TabItem , LinkCard } from ' @astrojs/starlight/components' ;
7+
8+ <LinkCard href = " https://github.com/bholmesdev/simplestack-query" title = " Source code" />
79
810A simple library to query the DOM from your Astro components.
911
Original file line number Diff line number Diff line change 11---
2- title : Simple scope 🔎
2+ title : 🔎 Simple scope
33description : Get a scoped ID for whatever file you're in. Resolved at build-time with zero client JS.
44---
55
6+ import { LinkCard } from ' @astrojs/starlight/components' ;
7+
8+ <LinkCard href = " https://github.com/bholmesdev/simplestack-scope" title = " Source code" />
9+
610Get a scoped ID for whatever file you're in. Resolved at build-time with zero client JS.
711
812``` jsx
Original file line number Diff line number Diff line change 11---
2- title : Simple store 💾
2+ title : 💾 Simple store
33description : A reactive store that combines the simplicity of signals with the power of "selectors" you'd find in Zustand or Redux.
44---
55
6+ import { LinkCard } from ' @astrojs/starlight/components' ;
7+
8+ <LinkCard href = " https://github.com/bholmesdev/simplestack-store" title = " Source code" />
9+
610A reactive store that combines the simplicity of signals with the power of "selectors" you'd find in Zustand or Redux.
711
812``` tsx
@@ -127,8 +131,8 @@ These types are exported for TypeScript users.
127131
128132- StateObject: ` Record<string | number | symbol, any> `
129133- StatePrimitive: ` string | number | boolean | null | undefined `
130- - Setter< T > : ` T | ((state: T) => T) `
131- - Store< T > :
134+ - Setter: ` T | ((state: T) => T) `
135+ - Store:
132136 - ` get(): T `
133137 - ` set(setter: Setter<T>): void `
134138 - ` subscribe(callback: (state: T) => void): () => void `
You can’t perform that action at this time.
0 commit comments