
State machines in Zag.js w/ Segun Adebayo
10/14/24 • 35 min
Segun Adebayo (aka. Sage) is the founder of Chakra UI and the creator of Zag.js. He built Zag.js to make it easy for everyone to create accessible components using their favorite front-end framework—and state machines bake everything!
Together, we discuss why the core of Zag.js uses state machines and the advantages of thinking in state machines in programming. Sage mentions the future of Zag.js and Chakra UI, which is bright for web developers!
Links:
- Zag.js
- Chakra UI
- XState
- Ark UI
- Segun Adebayo's (Sage) website
- Sage on Twitter
Segun Adebayo (aka. Sage) is the founder of Chakra UI and the creator of Zag.js. He built Zag.js to make it easy for everyone to create accessible components using their favorite front-end framework—and state machines bake everything!
Together, we discuss why the core of Zag.js uses state machines and the advantages of thinking in state machines in programming. Sage mentions the future of Zag.js and Chakra UI, which is bright for web developers!
Links:
- Zag.js
- Chakra UI
- XState
- Ark UI
- Segun Adebayo's (Sage) website
- Sage on Twitter
Previous Episode

XState at Expo with Doug Lowder
This is the full interview with Doug Lowder about how Expo uses XState.
Expo is a company that develops a suite of tools and services to simplify building, deploying, and maintaining React Native applications. Expo uses XState in the Expo Updates package, which enables remote updates of application code. Doug Lowder, who introduced XState at Expo, accepted my invitation to talk with me about Expo Updates, XState, state machines, and React Server Components.
Links:
- Expo Updates
- Doug Lowder on GitHub
- XState state machine in Expo Updates
- React Native tvOS
- Expo Router
- Evan Bacon's talk about RSC in Expo Router
- Review of Expo's XState implementation
Next Episode

XState is everywhere at WebinarGeek w/ Nick Worrall
Nick Worral is a web developer working at WebinarGeek, a company building a powerful webinar platform. The company extensively uses XState in the front end, and Nick joins Baptiste to discuss this thoroughly and share some code.
Nick shared some code during this episode. Watch the video.
Links:
- WebinarGeek
- Nick Worrall's website
- WebinarGeek's xstate-tools repository
- XState
- Stately
If you like this episode you’ll love
Episode Comments
Generate a badge
Get a badge for your website that links back to this episode
<a href="https://goodpods.com/podcasts/xstate-in-the-wild-418482/state-machines-in-zagjs-w-segun-adebayo-76318770"> <img src="https://storage.googleapis.com/goodpods-images-bucket/badges/generic-badge-1.svg" alt="listen to state machines in zag.js w/ segun adebayo on goodpods" style="width: 225px" /> </a>
Copy