# TodoMVC 示例
¥TodoMVC Examples
这些 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).
两个演示共享相同的机器。
¥Both demos share the same machines.
# TodoMVC 与 React
¥TodoMVC with React
使用 React 和 hooks (opens new window)
¥Uses React with hooks (opens new window)
两台机器:
¥Two machines:
todosMachine
控制整个 Todos 应用¥
todosMachine
controls the overall Todos applicationtodoMachine
控制每个单独的待办事项。¥
todoMachine
controls each individual todo item.
# TodoMVC 与 Vue
¥TodoMVC with Vue
将 Vue 与 合成 API (opens new window) 一起使用
¥Uses Vue with Composition API (opens new window)
两台机器:
¥Two machines:
todosMachine
控制整个 Todos 应用¥
todosMachine
controls the overall Todos applicationtodoMachine
控制每个单独的待办事项。¥
todoMachine
controls each individual todo item.