---
'@xstate/react': patch
---

Exposing a separate entrypoint for @xstate/react/fsm

---
'@xstate/react': patch
---

Added an explicit entrypoint for `@xstate/react/fsm` which you can use instead of `@xstate/react/lib/fsm`. This is the only specifier that will be supported in the future - the other one will be dropped in the next major version.

```diff
-import { useMachine } from '@xstate/react/lib/fsm'
+import { useMachine } from '@xstate/react/fsm'

Tweak changeset about `@xstate/react/fsm` entrypoint
Tweak changeset about `@xstate/react/fsm` entrypoint