Skip to content

v5.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Nov 23:43
· 93 commits to main since this release
3ea2ccb

Minor Changes

  • #98 e7cd20d Thanks @tivac! - Support for components at the root of machines

    createMachine({
      initial: "foo",
    
      meta: {
        component: RootComponent,
      },
    
      states: {
        foo: {
          meta: {
            component: FooComponent,
          },
        },
      },
    });

    Previously RootComponent would be ignored, now it will be the first component in the tree and FooComponent will be placed as a child of it.