教程
🆕 请参阅参考 Resources 以获取在网络上收集的各种 XState 资源的最新列表!
文章
- XState - a TypeScript state machine with a lot of features by Frank Quednau
- An overview of creating state machines with XState and TypeScript
- Includes a full React example
- Creating a Complex IVR System with Ease with XState by Yonatan Mevorach
- Tutorial on how to create an IVR (interactive voice response) system with XState, Express, and Nexmo
- My love letter to XState and statecharts ♥ by Tim Deschryver
- Overview of the benefits and experience of developing with XState
- Includes a demo
xstate-table
project using the exact same XState machine in the following languages:
- Finite State Machines in React JS using XState by Sooraj Nair
- Explanation of what finite state machines are, as well as a tutorial on building a simple authentication flow with React (class components)
- Has screenshots to generated machine visualizations
- Vuex + XState by Brock Reece
- A nice, short article on using XState with Vuex
- Doesn’t use services, but uses a plain
Machine(...)
. - See the Vue recipes for more information on integrating XState with Vue
- Getting Started with XState by Viet Nguyen
- An example of using XState with NextJS
- PureUI Chatbot with Xstate + React
- builds a chatbot using xState and reactjs
视频
- ▶ Introduction to XState by Jon Bellah
- ▶ Introduction to State Machines Using XState by Kyle Shevlin
- ▶ Let’s learn state machines with David K. Piano - Learn With Jason with Jason Lengstorf
- ▶ State Machines (playlist) by Leigh Halliday
- ▶ Managing Complex UI with XState by Xavier Lozinguez at React NYC
- ▶ Drawing Apps with XState V4 by Shawn McKay at the ReactJS Vancouver Meetup
- ▶ Standing on the Shoulders of Giants. Development With XState by Brad Woods
- ▶ Using Finite State Machines To Develop Your React App by Lucas Reis at React NYC
- ▶ Quick Introduction to XState by Bhargav Ponnapalli
- ▶ How XState Helps You Think by Swizec Teller
- ▶ Improving State Representation by using XState in React by Jon Condon
- ▶ MobX with XState by Daria Whitecastle at React Denver
- ▶ Rambling Thoughts on React and Finite State Machines by Ryan Florence
- ▶ Intro to State Machines in JavaScript - Part 1 by David Lopez
- ▶ State Machines Meet React Hooks by Zain Fathoni at JSConf.Asia 2019