Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 01 Dec 16:17
· 271 commits to main since this release

Major Changes

  • #4507 9ea542c34 Thanks @Andarist! - The useMachine(machine) hook now returns { snapshot, send, actorRef } instead of { state, send, service }:

    const {
    - state,
    + snapshot,
      send,
    - service
    + actorRef
    } = useMachine(machine);
  • #4265 1153b3f9a Thanks @davidkpiano! - FSM-related functions have been removed.

Minor Changes

  • #3727 5fb3c683d Thanks @Andarist! - exports field has been added to the package.json manifest. It limits what files can be imported from a package - it's no longer possible to import from files that are not considered to be a part of the public API.
  • #4507 9ea542c34 Thanks @Andarist! - The useActorRef(logic) and useActor(logic) hooks have been added.