Skip to content

Commit a5559bf

Browse files
Update versioned_docs/version-5/migration.mdx
Co-authored-by: David Khourshid <[email protected]>
1 parent b3bbd5c commit a5559bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

versioned_docs/version-5/migration.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,9 @@ const machine = createMachine({
672672
on: {
673673
someEvent: {
674674
target: 'compoundState.childState',
675-
reenter: true, // make it external explicitly!
675+
// Reenters the `compoundState` state,
676+
// just like an external transition
677+
reenter: true,
676678
},
677679
},
678680
initial: 'childState',

0 commit comments

Comments
 (0)