aenawi / osca-state-machine-talk

An introduction to state machines and XState

Home Page:https://festival.oscafrica.org/#speakers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSCA Talk

Creating UI components with Statecharts

Statecharts (aka state machines) are becoming the de facto way of managing component states and events. This talk will explain how they work and how to build common UI widgets with them.

Bio

Segun is the creator and maintainer of Chakra UI. He is passionate about building tools, design systems, and accessible components that help bridge the gap between design and code.

Talk Links

Images

Outline

  • Anatomy of a Stopwatch component
  • Why State machines?
  • Basics of State Machines
  • Delayed and Interval events
  • Explain each state and transitions
  • Create and Visualize Statechart
  • Connect to UI
  • New requirement from PM
    • start after a delay
    • reset stopwatch while ticking
  • Review

About

An introduction to state machines and XState

https://festival.oscafrica.org/#speakers


Languages

Language:TypeScript 71.1%Language:CSS 24.6%Language:HTML 4.3%