Stately.ai
@statelyai
The visual software modeling platform for app logic and workflows. Collaborate with your entire team to ship more robust code, faster.
ID:1214951331942850562
https://stately.ai 08-01-2020 16:45:49
2,1K Tweets
8,8K Followers
8 Following
My mental model for XState Stately.ai
Sync side effects
๐ actions (e.g. `assign`)
Async side effects
๐ actors (using `onError` and `onDone`)
24 days to go for #CityJSAthens
Erik Rasmussen ๐จโ๐ป๐บ๐ธ๐ช๐ธ will be telling us how to overcome building complex UI's with state machines
1โฃCheck out his video
2โฃ Register now your ๐๏ธ
athens.cityjsconf.org
Full managed actor system with XState Stately.ai
๐ `invoke` actors in root machine
๐ `children` to access invoked actors by `id`
๐ `useSelector` to get state/context from actor
This allows to build isolate machine that communicate with each other ๐
How our team uses xState v5 with React Native
dev.to/gtodorov/reactโฆ
Stately.ai React Native
Complete actor system in XState with the receptionist pattern Stately.ai ๐ฅ
๐ Invoke actors with `systemId`
๐ Send events using `sendTo`
๐ Respond to events in target actor
Organize any logic by sending events between actors ๐
Actors in XState v5 are insane ๐ฅ Stately.ai
Isolate state machines logic and emit events to interact between them ๐
๐ `spawn` machines
๐ `emit` events from spawned machine
๐ Subscribe `on` events in root machine
Just realized our Stately.ai Discord community passed 5000 members! ๐
It's a great place to hang out, especially if you want to be the first to hear about updates, get free support, or share/read new ideas.
here are some key resources I used to build the AI inside this game :
- github.com/derkork/godot-โฆ
- stately.ai (cc David K ๐น ) really good to structure and imagine your FSMs
Got to explore XState v5 beta today and it's a dream upgrade from v4! Every change is just what I needed. Big thanks to David K ๐น for the amazing work on v5. stately.ai/blog/announcinโฆ
x reason alpha update! Stately.ai I teach GPT4 how to perform chemical product development using simple Q&A pairs, a custom DSL, and X-State! The future is going to be wild! The reasoning engine can replace the default in AIP Palantir Shyam Sankar
youtu.be/p_4lPUbxT1w?siโฆ