Repository navigation
@xstate/codemod@0.1.0-alpha.4
Pre-release
Pre-release
·
18 commits
to main
since this release
Minor Changes
-
39d3b5c: Added the
report-id-path-targetstransform. It reports, without rewriting,#a.btargets andmatches('#a.b')orstateIn('#a.b')arguments that are not whole state ids of the machine config that contains them (references outside a machine config are always reported), since v6 resolves#targets by exact id only.// Reported: `flow` is an explicit id, and `flow.review` is not an id on: { review: { target: '#flow.review' } } // Not reported: the full implicit id on: { review: { target: '#shop.wizard.review' } }
Patch Changes
- ceeebb0:
xstate-codemod migraterenamesActorRefFromLogicimports and usages toActorRefFrom.