项目
在 GitHub 查看
davidkpiano/frontend-masters-xstate-workshop
关于
Frontend Masters State Machines & XState Workshop
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Frontend Masters XState Workshop
Welcome to the Frontend Masters workshop on JavaScript State Machines and Statecharts with XState. In this workshop, you will:
- Learn fundamental computer science principles
- Represent complex logic clearly
- Prevent impossible states and detect edge-cases
- Identify and eliminate edge cases
- Visualize your logic as state machine diagrams
XState
- GitHub repo: https://github.com/davidkpiano/xstate
- Documentation: http://xstate.js.org/docs
- Visualizer: http://xstate.js.org/viz
Getting Started
To run this workshop:
- Clone this repo
- You need to have
parcelinstalled. To do this, runnpm install -g parcel-bundler. - In the repo's directory, run
npm install - Run
npm start. You should see this:
Server running at http://localhost:1234
- Navigate to http://localhost:1234/00/index.html.
Exercises
Exercises are separated by directory. The first lesson is at 01/index.js. Each directory will contain a README.md describing the goal of the exercise, as well as tips and comments in the index.js file.
If you get lost, refer to the index.final.js file in each directory.
To navigate to a rendered exercise in the browser, change the directory in the URL (http://localhost:1234/[dir]/index.html). The first lesson is located at http://localhost:1234/00/index.html.
- Welcome (📝): 📄 Readme | 🔗 Link
- Exercise 01: 📄 Readme | 🔗 Link
- Exercise 02: 📄 Readme | 🔗 Link
- Exercise 03: 📄 Readme | 🔗 Link
- Exercise 04: 📄 Readme | 🔗 Link
- Exercise 05: 📄 Readme | 🔗 Link
- Exercise 06: 📄 Readme | 🔗 Link
- Exercise 07: 📄 Readme | 🔗 Link
- Exercise 08: 📄 Readme | 🔗 Link
- Exercise 09: 📄 Readme | 🔗 Link
- Exercise 10: 📄 Readme | 🔗 Link
探索相关项目
加载中…