v6.0.0
Major Changes
-
#111
a0ec633
Thanks @tivac! - Add.d.ts
files to releases and restructure exports.Previously
import ComponentTree from "xstate-component-tree"; import componentHelper from "xstate-component-tree/component";
Now
import { ComponentTree, componentHelper } from "xstate-component-tree";
Minor Changes
-
#113
88d1dba
Thanks @tivac! - Component helper preserves.meta
fieldsPrevious using the helper like this:
helper(Component, { meta: { fooga: "wooga", }, });
would return an object with no
meta.fooga
property. Now those keys are properly preserved if they exist.meta.load
will still be overwritten if it exists, because it is required for the helper to function. A warning if it exists may be introduced in a future release.