tanstack-react-store
Installation
SKILL.md
TanStack React Store
Framework-agnostic reactive data store with a React adapter. Install @tanstack/react-store.
Core API
createStore
Create a writable store with an initial value, or a readonly derived store with a getter function.
import { createStore } from "@tanstack/react-store";
// Writable store
const countStore = createStore(0);
countStore.setState(() => 1);
console.log(countStore.state); // 1
// Object store
Related skills
More from fellipeutaka/leon
docker
|
85commit-work
Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.
45clean-code
|
40solid
|
33design-patterns
|
33ai-repo-setup
|
31