Skip to content

Version Packages - #193

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#193
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@typeonce/effect-machine@0.29.0

Minor Changes

  • d739ebd: Add @typeonce/effect-machine-react with useMachineAtom for owning and mounting one stable machine atom without subscribing its React owner to machine state.

    Typed state-path projections now return the same atom for repeated calls with the same machine and path. Descendants can select state-owned data directly during render:

    const machine = useMachineAtom(() => MachineAtoms.make(AuthMachine, input));
    const editing = useAtomSuspense(
      AtomMachine.selectSnapshot(machine, "Editing")
    ).value;

    Startup input is captured when React creates the owner. Send an event to update the running workflow, or change the owner's React key to replace the machine.

@typeonce/effect-machine-react@0.29.0

Minor Changes

  • d739ebd: Add @typeonce/effect-machine-react with useMachineAtom for owning and mounting one stable machine atom without subscribing its React owner to machine state.

    Typed state-path projections now return the same atom for repeated calls with the same machine and path. Descendants can select state-owned data directly during render:

    const machine = useMachineAtom(() => MachineAtoms.make(AuthMachine, input));
    const editing = useAtomSuspense(
      AtomMachine.selectSnapshot(machine, "Editing")
    ).value;

    Startup input is captured when React creates the owner. Send an event to update the running workflow, or change the owner's React key to replace the machine.

Patch Changes

  • Updated dependencies [d739ebd]
    • @typeonce/effect-machine@0.29.0

@typeonce/effect-machine-devtools@0.29.0

Patch Changes

  • Updated dependencies [d739ebd]
    • @typeonce/effect-machine@0.29.0

@typeonce/oxlint-plugin-effect-machine@0.29.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants