Skip to main content

Interactive Playground

Experience React Dev Debugger in action! Try the examples below and watch state changes tracked in real-time.

Interactive Demo

Try the examples below and watch state changes tracked in real-time

Counter State

Count: 0

Object State

User: (empty) | no email | Age: 0

Array State (Todos)

    No todos yet

    useReducer (Shopping Cart)

      Total: $0.00

      Async State

      No data yet

      Boolean States

      Nested Object State

      Notifications
      Privacy

      Form State

      useTrackedContext (Context API)

      Theme: light | Language: en

      useWhyDidYouUpdate (Re-render Analysis)

      Change counter or user fields above to see what caused re-renders

      No changes detected yet

      useRenderTracking (Performance)

      Component Render Count: 0

      This component has rendered 0 times

      Tracks component lifecycle and performance metrics

      useComponentId (Component Identity)

      Component Key: playground-0
      Unique ID: mjdsx70z

      Each component instance gets a unique identifier

      Useful for tracking component instances in the dependency graph

      Deep Diff (State Comparison)

      Shows what changed between state updates:

      Make a state change to see diff

      Time Travel (State History)

      View state timeline on the right →

      Total Updates: 0

      In production, you can jump to any previous state snapshot

      🐛 State Timeline

      No state changes yet

      Interact with the examples above to see state updates here

      How It Works

      The playground demonstrates the core features of React Dev Debugger:

      1. State Tracking - Every state change is captured with before/after values
      2. Timeline View - See chronological history of all updates
      3. Real-time Updates - Changes appear instantly in the debugger panel
      4. Multiple State Types - Track primitives, objects, and arrays

      Try These Scenarios

      Simple Counter

      Click increment/decrement to see how primitive state changes are tracked.

      Object State

      Type in the name field to see how nested object properties are tracked.

      Array Operations

      Add and remove todos to see how array mutations are captured.

      Next Steps

      Ready to use this in your own app?