v6.0.0
Major Changes
-
#111
a0ec633Thanks @tivac! - Add.d.tsfiles 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
88d1dbaThanks @tivac! - Component helper preserves.metafieldsPrevious using the helper like this:
helper(Component, { meta: { fooga: "wooga", }, });
would return an object with no
meta.foogaproperty. Now those keys are properly preserved if they exist.meta.loadwill 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.