# 教程
¥Tutorials
这些 XState v4 文档不再维护
XState v5 现已推出!阅读有关 XState v5 的更多信息 (opens new window) 和 查看 XState v5 文档 (opens new window)。
¥XState v5 is out now! Read more about XState v5 (opens new window) and check out the XState v5 docs (opens new window).
🆕 请参阅 资源,了解网络上收集的各种 XState 资源的最新列表!
¥🆕 Please see Resources for an up-to-date listing of various XState resources collected around the web!
# 文章
¥Articles
XState - a TypeScript state machine with a lot of features (opens new window) by Frank Quednau
An overview of creating state machines with XState and TypeScript
Includes a full React example (opens new window)
Creating a Complex IVR System with Ease with XState (opens new window) 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 ♥ (opens new window) by Tim Deschryver (opens new window)
Overview of the benefits and experience of developing with XState
Includes a demo
xstate-table
project (opens new window) using the exact same XState machine in the following languages:
Finite State Machines in React JS using XState (opens new window) by Sooraj Nair (opens new window)
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 (opens new window) by Brock Reece (opens new window)
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 (opens new window) by Viet Nguyen (opens new window)
- An example of using XState with NextJS
PureUI Chatbot with Xstate + React (opens new window)
- builds a chatbot using xState and reactjs
# 视频
¥Videos
▶ Introduction to XState (opens new window) by Jon Bellah
▶ Introduction to State Machines Using XState (opens new window) by Kyle Shevlin
▶ Let's learn state machines with David K. Piano - Learn With Jason (opens new window) with Jason Lengstorf
▶ State Machines (playlist) (opens new window) by Leigh Halliday
▶ XState - 一个介绍 - React 中的有限状态机 (opens new window)
¥▶ XState - An Introduction - Finite State Machines in React (opens new window)
▶ XState - 数据加载服务 - React 中的有限状态机 (opens new window)
¥▶ XState - Data Loading Service - Finite State Machines in React (opens new window)
▶ XState - 视频播放器和嵌套状态 - React 中的有限状态机 (opens new window)
¥▶ XState - Video Player & Nested States - Finite State Machines in React (opens new window)
▶ Managing Complex UI with XState (opens new window) by Xavier Lozinguez at React NYC
▶ Drawing Apps with XState V4 (opens new window) by Shawn McKay at the ReactJS Vancouver Meetup
▶ Standing on the Shoulders of Giants. Development With XState (opens new window) by Brad Woods
▶ Using Finite State Machines To Develop Your React App (opens new window) by Lucas Reis at React NYC
▶ Quick Introduction to XState (opens new window) by Bhargav Ponnapalli
▶ How XState Helps You Think (opens new window) by Swizec Teller
▶ Improving State Representation by using XState in React (opens new window) by Jon Condon
▶ MobX with XState (opens new window) by Daria Whitecastle at React Denver
▶ Rambling Thoughts on React and Finite State Machines (opens new window) by Ryan Florence
▶ Intro to State Machines in JavaScript - Part 1 (opens new window) by David Lopez
▶ State Machines Meet React Hooks (opens new window) by Zain Fathoni at JSConf.Asia 2019