@xstate/react 4.0.0-beta.5
XState tools for React
@xstate/react@4.0.0-beta.5 was published on 2023-05-19. Its manifest declares 2 runtime dependencies and 3 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @xstate/react versions · Permanent reference to 4.0.0-beta.5 · Latest release
Package specifications
| Version | 4.0.0-beta.5 |
|---|---|
| License declaration | MIT |
| Published | 2023-05-19T11:53:34.089Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 3 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 42.98 KiB |
| Published file count | 34 |
| Package type | Not declared |
| ES module entry | dist/xstate-react.esm.js |
| Default entry | dist/xstate-react.cjs.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | 30366 |
| Repository forks | 1409 |
Install @xstate/react 4.0.0-beta.5
npm install @xstate/react@4.0.0-beta.5 pnpm add @xstate/react@4.0.0-beta.5 yarn add @xstate/react@4.0.0-beta.5
Runtime dependencies
- use-sync-external-store ^1.0.0
- use-isomorphic-layout-effect ^1.1.2
Peer requirements
- react ^16.8.0 || ^17.0.0 || ^18.0.0
- xstate ^5.0.0-beta.13 (optional peer)
- @xstate/fsm ^3.0.0-beta.2 (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- use-isomorphic-layout-effect@1.2.1 — direct
- use-sync-external-store@1.7.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Code-Review | 3/10 — Found 8/21 approved changesets -- score normalized to 3 |
| Maintained | 10/10 — 30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40xstate%2Freact/4.0.0-beta.5 — retrieved 2026-10-29T18:37:35.899Z
- https://api.deps.dev/v3/projects/github.com%2Fstatelyai%2Fxstate — retrieved 2026-10-29T17:29:52.064Z
- https://api.deps.dev/v3/systems/npm/packages/%40xstate%2Freact/versions/4.0.0-beta.5 — retrieved 2026-10-29T18:37:36.541Z
- https://api.deps.dev/v3/systems/npm/packages/%40xstate%2Freact/versions/4.0.0-beta.5:dependencies — retrieved 2026-10-29T18:37:36.556Z