https://github.com/rkrupinski/stan
Minimal, type-safe state management
https://github.com/rkrupinski/stan
react state-management typescript
Last synced: 5 months ago
JSON representation
Minimal, type-safe state management
- Host: GitHub
- URL: https://github.com/rkrupinski/stan
- Owner: rkrupinski
- License: mit
- Created: 2025-03-26T20:16:30.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-09-14T11:22:50.000Z (10 months ago)
- Last Synced: 2025-09-14T13:10:49.070Z (10 months ago)
- Topics: react, state-management, typescript
- Language: TypeScript
- Homepage: https://stan.party
- Size: 667 KB
- Stars: 52
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://stan.party)
# Stan
[](https://github.com/rkrupinski/stan/actions/workflows/ci.yml)


Minimal, type-safe state management
[🌐 Website](https://stan.party) |
[📘 API docs](https://stan.party/docs/api/state) |
[📝 Examples](https://stan.party/docs/getting-started/examples) |
[📰 Blog Post](https://rkrupinski.com/post/introducing-stan)
A sneak peek:
```tsx
import { selectorFamily } from "@rkrupinski/stan";
import { useStanValue } from "@rkrupinski/stan/react";
const deepThought = selectorFamily(
(question) => () => thinkDeep(question)
);
const MyApp: FC<{ question: string }> = ({ question }) => {
const answer = useStanValue(deepThought(question));
return (
The Answer to "{question}" is "{answer}"!
);
};
```