# TodoMVC 示例

¥TodoMVC Examples

两个演示共享相同的机器。

¥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 application

    • todoMachine 控制每个单独的待办事项。

      ¥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 application

    • todoMachine 控制每个单独的待办事项。

      ¥todoMachine controls each individual todo item.