Stately.ai(@statelyai) 's Twitter Profileg
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

linkhttps://stately.ai calendar_today08-01-2020 16:45:49

2,1K Tweets

8,8K Followers

8 Following

Sandro Maglione(@SandroMaglione) 's Twitter Profile Photo

My mental model for XState Stately.ai

Sync side effects
๐Ÿ‘‰ actions (e.g. `assign`)

Async side effects
๐Ÿ‘‰ actors (using `onError` and `onDone`)

My mental model for XState @statelyai Sync side effects ๐Ÿ‘‰ actions (e.g. `assign`) Async side effects ๐Ÿ‘‰ actors (using `onError` and `onDone`)
account_circle
CityJS Conferences(@cityjsconf) 's Twitter Profile Photo

24 days to go for

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

account_circle
Sandro Maglione(@SandroMaglione) 's Twitter Profile Photo

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 ๐Ÿš€

Full managed actor system with XState @statelyai ๐Ÿ‘‰ `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 ๐Ÿš€
account_circle
Sandro Maglione(@SandroMaglione) 's Twitter Profile Photo

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 ๐Ÿš€

Complete actor system in XState with the receptionist pattern @statelyai ๐Ÿ”ฅ ๐Ÿ‘‰ Invoke actors with `systemId` ๐Ÿ‘‰ Send events using `sendTo` ๐Ÿ‘‰ Respond to events in target actor Organize any logic by sending events between actors ๐Ÿš€
account_circle
Sandro Maglione(@SandroMaglione) 's Twitter Profile Photo

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

Actors in XState v5 are insane ๐Ÿ”ฅ @statelyai Isolate state machines logic and emit events to interact between them ๐Ÿ” ๐Ÿ‘‰ `spawn` machines ๐Ÿ‘‰ `emit` events from spawned machine ๐Ÿ‘‰ Subscribe `on` events in root machine
account_circle
Dominik ๐Ÿ”ฎ(@TkDodo) 's Twitter Profile Photo

I love how xstate/store requires no manual typings, naturally separates states from actions and has an event-based 'send' API. Wanna give this a try soon. Great work ๐Ÿ‘

account_circle
Matt Pocock(@mattpocockuk) 's Twitter Profile Photo

type Status = 'loading' | 'success' | 'error';

const [status, setStatus] = useState<Status>('loading');

โฌ†๏ธ This was such a crazy level-up in my React skills when I learned it.

No more boolean explosion. Every state accounted for.

Just add XState and you're set ๐Ÿ˜‰

account_circle
Raul(@raul_fdm) 's Twitter Profile Photo

I'm writing an async select component, and gosh, this crap is hard. So many states and possibilities.

I'm so glad I put a lot of energy into trying to learn state machines.

Every day, I think about how we can show developers how important it is to learn it.

XStateJS

I'm writing an async select component, and gosh, this crap is hard. So many states and possibilities. I'm so glad I put a lot of energy into trying to learn state machines. Every day, I think about how we can show developers how important it is to learn it. @XStateJS
account_circle
David K ๐ŸŽน(@DavidKPiano) 's Twitter Profile Photo

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.

Just realized our @statelyai 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.
account_circle
David K ๐ŸŽน(@DavidKPiano) 's Twitter Profile Photo

๐Ÿช Excited to announce XState Store!

โ†’ Extremely simple API
โ†’ Extremely small (< 1kb min/gzip)
โ†’ XState-compatible (if you need the power)
โ†’ Extra strong typing (inferred!)

npm i @xstate/store

๐Ÿช Excited to announce XState Store! โ†’ Extremely simple API โ†’ Extremely small (< 1kb min/gzip) โ†’ XState-compatible (if you need the power) โ†’ Extra strong typing (inferred!) npm i @xstate/store
account_circle
adil - oss/acc(@adevinwild) 's Twitter Profile Photo

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

account_circle
Huan(@huan2024) 's Twitter Profile Photo

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โ€ฆ

account_circle
CodeStrap(@CodeStrap411) 's Twitter Profile Photo

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โ€ฆ

account_circle