→ atom.get()
→ atom.set(…)
→ Derived atoms (reactive)
→ Async atoms
→ Stores are atoms too!
npm i @xstate/store
stately.ai/docs/xstate-...
→ atom.get()
→ atom.set(…)
→ Derived atoms (reactive)
→ Async atoms
→ Stores are atoms too!
npm i @xstate/store
stately.ai/docs/xstate-...
Y'all need to check out this lib. API is so straightforward.
stately.ai/docs/xstate-...
Y'all need to check out this lib. API is so straightforward.
stately.ai/docs/xstate-...
github.com/statelyai/xs...
github.com/statelyai/xs...
Planning for the next major version, and would love to hear your thoughts and ideas ✍️
Planning for the next major version, and would love to hear your thoughts and ideas ✍️
🍿 Read/subscribe here:
thisweekinreact.com/newsletter/242
⚛️ React
- Vite RSC
- Next.js
- NuxtLabs
- shadcn
- TanStack
- Valtio
- XState
- RHF
📱 RN
- Unistyles
- RAG
- Shadow Insets
- Ignite
- Metro
- 0.81 RC
🍿 Read/subscribe here:
thisweekinreact.com/newsletter/242
⚛️ React
- Vite RSC
- Next.js
- NuxtLabs
- shadcn
- TanStack
- Valtio
- XState
- RHF
📱 RN
- Unistyles
- RAG
- Shadow Insets
- Ignite
- Metro
- 0.81 RC
One of my favourites: runed.dev/docs/utiliti...
It makes reasoning about user interactions simple, and is a lot more lightweight and easier to use than XState.
One of my favourites: runed.dev/docs/utiliti...
It makes reasoning about user interactions simple, and is a lot more lightweight and easier to use than XState.
#buildInPublic #react #xstate
#buildInPublic #react #xstate
I wanted to update one state variable when another changes, but on a debounced network request.
Hard to model in other systems. In xstate, it's simple:
- emit() an event
- handle that event with store.on() + a debounce wrapper
I wanted to update one state variable when another changes, but on a debounced network request.
Hard to model in other systems. In xstate, it's simple:
- emit() an event
- handle that event with store.on() + a debounce wrapper
garden.bradwoods.io/notes/game-d...
#xstate #gamedev
garden.bradwoods.io/notes/game-d...
#xstate #gamedev
⚛️
- React Compiler
- TSRX
- StyleX
- TanStack
- XState
- shadcn
- Hook Form
- Inertia
📱
- Swift Package Manager
- JSI
- SimCam
- Enriched Markdown
- MLX
- Jail Monkey
🍿 Read/subscribe: thisweekinreact.com/newsletter/279
✍️ @kacperkapusciak.bsky.social Konrad
⚛️
- React Compiler
- TSRX
- StyleX
- TanStack
- XState
- shadcn
- Hook Form
- Inertia
📱
- Swift Package Manager
- JSI
- SimCam
- Enriched Markdown
- MLX
- Jail Monkey
🍿 Read/subscribe: thisweekinreact.com/newsletter/279
✍️ @kacperkapusciak.bsky.social Konrad
garden.bradwoods.io/notes/game-d...
#frontend #threejs #xstate
garden.bradwoods.io/notes/game-d...
#frontend #threejs #xstate
Together we demo-ed how we can make our state logic more predictable and scalable for complex applications.
👉 Demo: github.com/mayashavin/m...
👉 Slides: docs.google.com/presentation...
Together we demo-ed how we can make our state logic more predictable and scalable for complex applications.
👉 Demo: github.com/mayashavin/m...
👉 Slides: docs.google.com/presentation...
As for your actual question, happy to try and help if you want it. I’ve written a lot about state machines, made ‘em from scratch, and have a course on ‘em.
As for your actual question, happy to try and help if you want it. I’ve written a lot about state machines, made ‘em from scratch, and have a course on ‘em.
🍎https://apple.co/4ipNHcP
🟢 spoti.fi/3VxlGGq
🍎https://apple.co/4ipNHcP
🟢 spoti.fi/3VxlGGq
I assume the hope is that XState users will see "Stately Studio" and such in the sidebar and check it out
I assume the hope is that XState users will see "Stately Studio" and such in the sidebar and check it out
Checkout the visualizer and the xstate package, if you haven't used it before: stately.ai/viz
Checkout the visualizer and the xstate package, if you haven't used it before: stately.ai/viz
First, it was comically complex for simple UI state, like sharing a text selection between my text editor library (prosemirror) and React. Jotai was built for that and it shows
First, it was comically complex for simple UI state, like sharing a text selection between my text editor library (prosemirror) and React. Jotai was built for that and it shows