Skip to content
← All talks

Laying Foundations for Stateful React Game Development

Building interactive games in React with state machines, XState, and canvas rendering for predictable, maintainable game logic.

  • State Machines
  • XState
  • Game Development
  • React

React Next 2025 · Tel Aviv, Israel

Given at

  • React Next 2025

    Tel Aviv, Israel · June 15, 2025

Building games in React presents unique challenges around state management, rendering performance, and handling complex user interactions. This talk explores practical patterns for creating stateful, interactive games using modern React patterns.

Key takeaways

  • How state machines provide predictable game state transitions
  • Integrating XState with React for complex game logic
  • Performance considerations for canvas-based rendering in React
  • Practical patterns for handling user input and game loops