@bemedev/app-solidjs

TanStack Start Visual Tester

Counter Machine Tester

Testing useService(service, { selector, equality }) signals from `@bemedev/app-solidjs`

{
  "initial": "idle",
  "on": {
    "RESET": {
      "actions": "reset"
    },
    "STOP": "/idle"
  },
  "states": {
    "idle": {
      "tags": [
        "stopped"
      ],
      "on": {
        "START": "/active"
      }
    },
    "active": {
      "tags": [
        "running"
      ],
      "on": {
        "INC": {
          "actions": "increment"
        },
        "DEC": {
          "actions": "decrement"
        }
      }
    }
  }
}
Current Value
0

State Inspector

State Value Accessor:
"idle"
Full Machine State Object:
{
  "status": "working",
  "context": {
    "count": 0,
    "step": 1
  },
  "event": {
    "type": "machine$$init",
    "payload": {}
  },
  "value": "idle",
  "tags": [
    "stopped"
  ]
}