github statelyai/xstate @xstate/effect@1.0.0-alpha.9

Major Changes

  • ceeebb0: taggedState(...) tags a root parallel state with the machine id instead of '(machine)', or with '' when the machine has no id. TaggedState and StateTag type the tag the same way.

    const release = createMachine({ id: 'release', type: 'parallel', states: { review: {}, build: {} } });
    
    Match.type<TaggedState<typeof release>>().pipe(
      Match.tag('release', () => 'in progress'), // was Match.tag('(machine)', ...)
      Match.exhaustive
    );

Don't miss a new xstate release

NewReleases is sending notifications on new releases.