Stately.ai Profile Banner
Stately.ai Profile
Stately.ai

@statelyai

8,799
Followers
8
Following
674
Media
2,122
Statuses

The visual software modeling platform for app logic and workflows. Collaborate with your entire team to ship more robust code, faster.

Orlando, FL
Joined January 2020
Don't wanna be here? Send us removal request.
Pinned Tweet
@statelyai
Stately.ai
5 months
✨ Last week we brought you Stately Sky and this week… 🆕 Stately Studio 2.0 is out now! 1️⃣ Generate flows faster with Stately AI
4
21
97
@statelyai
Stately.ai
2 years
The Stately Editor beta is now open for everyone! 🎉 🚀 A low-code visual editor for building app logic 🪄 Create executable diagrams and use them in code Try the beta now at:
42
408
2K
@statelyai
Stately.ai
2 years
🔥 XState Tip #3 🔥 XState is extremely powerful in @reactjs for orchestrating side effects and composing other hooks. Here, we use a machine to coordinate moving to a '/login' screen after 3 seconds, using Next's useRouter hook.
6
44
345
@statelyai
Stately.ai
2 years
Are you seeing complexity scaling out of control in your React app? You might need XState. Here, we take a badly-built fetch and give it error handling, timeouts and exponential backoff 🤯 all with the visual builder! FULL VIDEO:
7
46
341
@statelyai
Stately.ai
2 years
Are you using useState? Then you'll know that as components scale, both useState AND useReducer can feel like ticking time bombs 🧨💥 In this video, @mattpocockuk dives deep on the tradeoffs of each hook, and where XState can help. Full 8-minute video:
12
44
298
@statelyai
Stately.ai
2 years
🔥 XState Test v1 Alpha released 🔥 Do you want DRY, self-documenting tests without duplicated setup? Get MAXIMUM coverage with minimal code by generating your test paths from a state machine. Here's all the new goodness:
13
48
295
@statelyai
Stately.ai
2 years
🚀The Editor is also available as a VS Code extension! ⌨️ Code and watch the state diagram appear 🖱 Or draw it on canvas and see the code update
5
33
268
@statelyai
Stately.ai
5 months
🥳 XState V5 is here! More powerful, yet simpler (and smaller!) Orchestrate *any* logic, from promises and observables to state machines and statecharts and everything in between. Whatever your code is, XState will meet you where you’re at.
Tweet media one
1
43
242
@statelyai
Stately.ai
2 years
🚀 Stately Studio 1.0 is now live! 🤝 Teams & roles (Pro) 🔭 Visibility settings: public, unlisted, private (Pro) ℹ️ Priority support (Pro) 📦 Projects-first editor view ⬆️ Export to JavaScript, TypeScript & more soon ➕ So many Editor improvements!
8
38
222
@statelyai
Stately.ai
2 years
🎉 We’ve made it even easier to create and visualize state machines in seconds: 1️⃣ Install the XState @code extension. 2️⃣ Use the `xsm` snippet. 3️⃣ Visualize your new state machine inside VS Code.
4
26
207
@statelyai
Stately.ai
2 years
🔥 XState Tip #5 🔥 Are you in multi-step-form hell with useState/useEffect? XState can make things a LOT easier by colocating all your logic into a single, visualizable spot.
7
24
206
@statelyai
Stately.ai
2 years
👋 The @statelyai team are at @remix_run conf today. Come say hi to @mattpocockuk , @gavmanbauman , @jen_ayy_ and @DavidKPiano !
Tweet media one
4
3
189
@statelyai
Stately.ai
3 years
Time to share our current state. We're excited to announce the Stately team that will be working on the mission of making application logic more visual, robust, and accessible. Stay updated and get early access here: 👩‍💻🧑‍💻👇
12
29
188
@statelyai
Stately.ai
2 years
XState on the backend?! XState is not just a frontend library - it can run anywhere JavaScript runs. With the waitFor helper, you can let XState handle any logic inside an async function. In this video, @mattpocockuk shows you the basics. FULL VIDEO:
9
34
175
@statelyai
Stately.ai
2 years
👋 Goodbye, useEffect! David ditches the useEffect hook and discovers how state machines can be used to simplify effects in our React apps:
5
25
165
@statelyai
Stately.ai
2 years
🔥 XState Tip #1 🔥 You can tidy up your machine definitions massively by being on the lookout for things that _feel_ like promises in your machine. If it looks like a Promise and quacks like a Promise, it's probably a promise.
3
17
148
@statelyai
Stately.ai
2 years
Is XState good with TypeScript? We've worked HARD on making the XState experience with TypeScript better. If you use type generation, you can get AMAZING autocomplete and inference that's just not possible with TS alone. FULL VIDEO:
3
18
140
@statelyai
Stately.ai
2 years
What we think software development is like…
Tweet media one
2
17
139
@statelyai
Stately.ai
2 years
🥚 Which is the initial state?
Tweet media one
8
9
119
@statelyai
Stately.ai
3 years
{ initial: 'helloWorld' }
6
14
101
@statelyai
Stately.ai
2 years
XState is FANTASTIC for handling complex forms on the frontend. Especially when combined with an existing lib like react-hook-form, you can build all sorts of async validation. FULL VIDEO:
3
22
98
@statelyai
Stately.ai
2 years
What software development is really like…
Tweet media one
3
15
98
@statelyai
Stately.ai
2 years
🚀 The XState CLI is now available on npm! Use it to get all the features of typegen in any IDE environment or on your CI. Install it now with npm install @xstate /cli
2
18
95
@statelyai
Stately.ai
2 years
🔥 XState Tip #2 🔥 Always transitions are most useful for two patterns: 1⃣ Creating Choice Nodes 2⃣ Making a 'leave this state when' condition They're FOR SURE one of the most useful bits of a statecharter's toolkit.
3
8
88
@statelyai
Stately.ai
5 months
🌤️ Stately Sky is here! - Build and deploy your workflows to the edge in minutes - Get all the benefits of XState V5 actors - Play live with multiplayer support
3
11
76
@statelyai
Stately.ai
2 years
💼 We’re hiring! Join our in-finite-ly awesome team and build the visual future of software development. We’re a friendly diverse team, work fully remote and have a fantastic work-life balance. Sound good to you? ✨ Find our @statelyai job listings at:
4
12
76
@statelyai
Stately.ai
2 years
🔥 XState Tip #4 🔥 History States are a powerful, but often misunderstood part of statecharts. They can be useful for modelling 'physical-like' devices, such as remembering which buttons are pushed on a device that's turned off.
1
9
72
@statelyai
Stately.ai
2 years
State machine of the day.
Tweet media one
1
7
71
@statelyai
Stately.ai
2 years
Not Wordle, just a state machine ⬛⬛⬛⬛⬛ ⬛🟨➡️🟨⬛ ⬛⬇️⬛⬇️⬛ ⬛🟨➡️🟨⤵️ ⬛⬛⬛⬛🟩
1
20
70
@statelyai
Stately.ai
2 years
We are working on infinite states
2
3
62
@statelyai
Stately.ai
2 years
Hey folks, sorry we’re not around for #StatelyOfficeHours this week. Our team is building bridges in Denmark.
Tweet media one
3
4
61
@statelyai
Stately.ai
2 years
🎉XState’s TypeScript experience just got an enormous upgrade. We’ve released Typescript typegen to XState 4.29.0. We’re eventually aiming for perfect types on all parts of XState’s API—and we've made a pretty good start. 📌Read our announcement post:
0
12
58
@statelyai
Stately.ai
2 years
☀️ Day 3 of @reactathon and the team are having a great conference. 👋 Please stop by our @statelyai booth to say hi, we’d love to meet you!
Tweet media one
3
4
56
@statelyai
Stately.ai
2 years
🧠 Learn XState in React with our official beginner’s guide. 🏁 Starting with setup! Before you start to build your todo list app, @mpocock1 shows you how to set up your development environment:
1
4
56
@statelyai
Stately.ai
3 years
This time tomorrow (Friday at 9AM ET) we’ll be livestreaming our Office Hours again. We’re getting closer to releasing the new visualizer… want a chance to transition to the new one? Tune in! Questions? Tweet us using #StatelyOfficeHours
Tweet media one
0
10
55
@statelyai
Stately.ai
1 year
☀️ Boa tarde from Lisbon! The team is having our second-ever hangout in person and it’s a real treat.
Tweet media one
5
2
53
@statelyai
Stately.ai
2 years
🤫We’ve got exciting stuff to share with you this week…
Tweet media one
0
5
50
@statelyai
Stately.ai
3 months
🪄 You can now import a state machine from a GitHub file, make changes in Stately Studio, and make a pull request back to GitHub without touching any code.
1
5
46
@statelyai
Stately.ai
2 years
⬇️Read @DavidKPiano ’s post all about the Editor and our plans for the future:
1
7
47
@statelyai
Stately.ai
10 months
🆕 You asked for server-side workflow examples for XState… we’ve added 25! Find them in the `next` branch (XState v5) in the XState repo, and browse the full list on our blog:
1
7
46
@statelyai
Stately.ai
3 years
We also have @mpocock1 joining the dev team! He's been producing some great tools for XState, including xstate-codegen and XState Catalogue: 🛠️
2
0
45
@statelyai
Stately.ai
11 months
🎉 XState V5 beta is here! 🏁 Simplified terminology to learn concepts easier ✨ Power and flexibility with an actor-first approach 🔌 Reduced API surface area to get started faster 📚 Examples and docs to cover more use cases
2
9
44
@statelyai
Stately.ai
5 months
🪄 Autolayout has had a glow up! Your messiest machines tidied up with that one magic button…
3
2
43
@statelyai
Stately.ai
3 years
This Friday at 9AM ET (this time tomorrow), our weekly Stately Office Hours will stream live on our YouTube channel. Got any questions for the team? Want to share how you’re using XState? Join us live, or share your questions using #StatelyOfficeHours .
2
5
42
@statelyai
Stately.ai
1 month
☺️
Tweet media one
@tannerlinsley
Tanner Linsley
1 month
Every time I open @statelyai , I am blown away by the experience. Not many extremely useful dev tools are also just pure fun to play with. Here's one I made @ReactRally last year about conference attendance!
5
5
82
2
0
41
@statelyai
Stately.ai
7 months
☀️ Hola 👋 This week the team is away together in Spain. This was a brief moment away from the laptops!
Tweet media one
2
3
41
@statelyai
Stately.ai
2 years
🤯 Get started with model-based testing with XState Test… Works with Vitest, Cypress, Playwright, any testing framework of your choice!
@statelyai
Stately.ai
2 years
🔥 XState Test v1 Alpha released 🔥 Do you want DRY, self-documenting tests without duplicated setup? Get MAXIMUM coverage with minimal code by generating your test paths from a state machine. Here's all the new goodness:
13
48
295
0
9
41
@statelyai
Stately.ai
6 months
🤫 Next week is going to be a big week. Can you guess what we’re releasing?
Tweet media one
Tweet media two
Tweet media three
5
4
41
@statelyai
Stately.ai
2 years
🆕 “Just Use Hooks”! In @kvmaes ’ first post on our blog, he explains how to use custom machine hooks to integrate XState machines into your React components.
2
5
40
@statelyai
Stately.ai
1 year
⏪ Throwback to last week co-working in person! Even though we were in beautiful Lisbon, you couldn’t keep us away from our laptops…
Tweet media one
4
0
39
@statelyai
Stately.ai
10 months
🆕 We’ve released a huge update to Stately Studio: 🌈 Bring color to your flows! 📝 Design more logic on the canvas 🧩 Visual effects blocks 🔥 Refined statechart design 🎧 Hide the UI to focus 💪 Tags and built-in XState actions 🚚 Export to XState v5 beta
2
4
39
@statelyai
Stately.ai
2 years
You don’t need a library for state machines… but you probably need state machines. ⬇️ Read @DavidKPiano ’s case for state machines in this classic blog post
0
10
38
@statelyai
Stately.ai
2 years
🕹 Check out this cool video game main menu state machine by @tivac !
Tweet media one
5
6
38
@statelyai
Stately.ai
3 years
And we're happy to welcome @LauraKalbag , co-founder of , who will be working with us on Dev & Designer Relations! She’s been a dev & designer herself for over a decade, has given talks in 15 countries, and wrote the book Accessibility For Everyone 📘
1
2
36
@statelyai
Stately.ai
3 years
Also excited to welcome @AndaristRake to the team! He has been helping to develop XState for the past 3 years and is also known for maintaining a package or two (or 100) 📦
2
0
36
@statelyai
Stately.ai
3 years
This time tomorrow (Friday at 9AM ET), our weekly Stately Office Hours will stream live on our YouTube channel. We’ll be giving you a preview of the new Visualizer! Got any questions? Features on your wish list? Use #StatelyOfficeHours And join us live:
4
5
35
@statelyai
Stately.ai
2 years
This timeline 😰
Tweet media one
2
6
34
@statelyai
Stately.ai
2 years
Folks often ask us for tips on modeling state machines @mpocock1 wrote an essential primer on choosing between context and states.
0
10
34
@statelyai
Stately.ai
3 years
As we mentioned in the #StatelyOfficeHours , we’ve got a survey and we’d really appreciate your responses. Help us shape the future of XState!
0
18
33
@statelyai
Stately.ai
9 months
🔎 You can now access all the key information about a state without opening any panels. Tags, markdown descriptions, entry and exit actions, and invoked actors… all shown on the state and editable from the canvas 🎉
Tweet media one
2
4
31
@statelyai
Stately.ai
2 years
Tweet media one
@xata
Xata 🦋
2 years
The Xata vibe is real at @reactsummit here in Amsterdam today. Come join us at our shared booth with the wonderful @statelyai crew and hear about our serverless database and visualizing your application logic. We have all the swag! Get some!
Tweet media one
1
3
24
6
4
32
@statelyai
Stately.ai
2 years
🥵 If complexity is scaling out of control in your React app, you might need XState. @mattpocockuk takes a badly-built fetch and gives it error handling, timeouts and exponential backoff… all using our @statelyai visual editor!
1
5
32
@statelyai
Stately.ai
3 years
Welcome @farzad_yz to the dev team! He's been working with and giving talks on state machines and statecharts for years, and is going to help bring the visual tooling to the next level 📈
3
1
31
@statelyai
Stately.ai
2 years
🧰If you’re a @vuejs fan, you should check out Vurian. It’s a Vue 3 component library project by @MayaShavin for organizing components using state machines (and XState!)
0
6
31
@statelyai
Stately.ai
3 years
How do you convince your teammates to use XState? #StatelyQuestionOfTheWeek
18
6
31
@statelyai
Stately.ai
1 year
🖼️ Have you tried putting images in your descriptions yet? With our recent support for markdown in state and event descriptions, you can create fun machines like this:
Tweet media one
1
5
30
@statelyai
Stately.ai
1 year
🆕 🎉 Get started in the Stately Studio with our new video tutorials designed to help you learn the concepts and how-tos in bite-size videos! First up… 1️⃣ What are state machines and statecharts?
0
6
29
@statelyai
Stately.ai
2 years
⬇️ Redux is half of a pattern. @DavidKPiano highlights some reasons why Redux is not a standalone pattern by comparing it to a fundamental, well-established pattern: the finite state machine.
1
5
29
@statelyai
Stately.ai
4 months
🆕 We’ve got a stack of new features this week. Starting with… Sources! Yes, you can now provide implementation source code for your actions, actors, and guards to get full bidirectional editing between the editor and your codebase 🎉
1
4
28
@statelyai
Stately.ai
7 months
👋 We’re at @ReactAlicante . Come find us to talk about all things state machines and app logic! #ReactAlicante2023
Tweet media one
1
4
27
@statelyai
Stately.ai
11 months
↪️ Coming soon… better self-transitions! We know single states with many self-transitions is a common pattern in your state machines. Soon their transition arrows will be tidier and easier to read.
Tweet media one
1
1
28
@statelyai
Stately.ai
9 months
✨ When you’re working with a complex flow, sometimes you just want to get everything else out your way… Hide the canvas grid and all the UI panels with just a few clicks or keyboard shortcuts.
0
4
25
@statelyai
Stately.ai
1 year
💕 Talking to Valentine…
Tweet media one
2
3
27
@statelyai
Stately.ai
2 years
We’d love to know what you think! What are the opportunities and challenges for using XState on the backend? We’ll discuss XState and the backend in this week’s #StatelyOfficeHours on Friday.
Tweet media one
5
3
27
@statelyai
Stately.ai
2 years
☀️ Light mode is now available in the @statelyai editor!
2
5
27
@statelyai
Stately.ai
2 years
✏️Do you want to get started modeling statecharts? @mpocock1 has written a step-by-step guide on how he models statecharts from scratch.
0
6
27
@statelyai
Stately.ai
5 months
✨ New (experimental) feature alert! Coming from another state manager? Import your Redux or Zustand logic into the Stately editor, and we’ll handle the rest. More libraries, DSLs, and languages to come!
2
4
27
@statelyai
Stately.ai
5 months
🎉 Exciting news! On Monday, @thesegunadebayo and our very own @farzad_yz are kicking off a new livestream series building complex UI components using Stately Studio. Starting with a draggable and resizable panel:
0
4
26
@statelyai
Stately.ai
3 months
🖼️ Happy Friday! You can now embed Figma frames in states!
3
4
25
@statelyai
Stately.ai
2 years
⬇️ Start using XState with React easily with @mpocock1 ’s classic blog post, “Just use props”…
1
3
25
@statelyai
Stately.ai
5 months
How about a sneak peek into one of our huge new features…?  🌤️ Stately Sky 🌤️ Read more about how we’ve worked together with @partykit_io to orchestrate Stately machines in the sky:
3
7
25
@statelyai
Stately.ai
2 years
🎉 We’re delighted to welcome @kvmaes to the team! Kevin is joining our team of engineers creating @statelyai tools and we’re really excited to work with him.
2
1
26
@statelyai
Stately.ai
3 months
🔬 Stately Inspector is now available in beta! Visualize the state of any application, frontend or backend, with state machines and sequence diagrams. npm install @statelyai /inspect
1
5
26
@statelyai
Stately.ai
2 years
❓How did you first learn about state machines?
Tweet media one
27
3
25
@statelyai
Stately.ai
2 years
🤩 Check out how our friend @erikras used the @statelyai editor to model React lifecycle methods! 👏
Tweet media one
0
8
25
@statelyai
Stately.ai
8 months
Big if true
@kentcdodds
Kent C. Dodds 🌌
8 months
state machines are great btw
17
8
191
0
3
24
@statelyai
Stately.ai
2 years
🚀 New features now available in the @statelyai Editor! 🧵 Read the thread for details and check out the editor at:
1
1
24
@statelyai
Stately.ai
4 months
🚤 Jump into XState v5 fast with our new cheatsheet:
1
2
23
@statelyai
Stately.ai
2 years
🥳 A fantastic start to the week… please welcome @andersmellson to the @statelyai team! Anders is joining our engineering team working on our Stately tools and we can’t wait to have his input.
2
0
24
@statelyai
Stately.ai
2 years
Stately Stream: Modeling an editor feature
1
1
23
@statelyai
Stately.ai
2 years
oh no
Tweet media one
1
1
24
@statelyai
Stately.ai
9 months
🧜 If you ever wanted to share your diagrams to GitHub and GitLab, you’ll love our new export to Mermaid! Get your state machine as Mermaid text or an SVG diagram with just two clicks:
1
4
24
@statelyai
Stately.ai
5 months
👋 Did you transition to XState V5 yet? It’s superpowered, simpler, and smaller. With Stately Studio support and a brand new Stately inspector coming very soon! 👥 Does your team need V4 -> V5 migration help or workshops to get up and running with XState V5?
Tweet media one
2
3
24