Skip to contentOpen History to see the last commit
demo-store.ts
13 lines269 Bytes
1import { Derived, Store } from '@tanstack/store' 3export const store = new Store({ 8export const fullName = new Derived({ 9 fn: () => `${store.state.firstName} ${store.state.lastName}`,