Skip to content

Absorb noisy state updates from XState so that consumers of ember-statechart-component can have fine-grained updates #458

Description

@NullVoxPopuli

From this twitter thread: https://twitter.com/nullvoxpopuli/status/1673077290593554434

The solid.js implementation augments the state from the interpreter instance https://github.com/statelyai/xstate/blob/740409e549ea91974b7fa8ef63438341958dafd9/packages/xstate-solid/src/useMachine.ts#L38C29-L38C44

via this createImmutable.

Note that the concept of createImmutable should exist as a util in ember-resources https://github.com/NullVoxPopuli/ember-resources/

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions