Skip to content

Commit

Permalink
Add additional changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkpiano committed Feb 22, 2020
1 parent a8d8278 commit 0e24ea6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .changeset/lucky-bulldogs-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
'xstate': major
---

The `internal` property will no longer have effect for transitions on atomic (leaf-node) state nodes. In SCXML, `internal` only applies to complex (compound and parallel) state nodes:

> Determines whether the source state is exited in transitions whose target state is a descendant of the source state. [See 3.13 Selecting and Executing Transitions for details.](https://www.w3.org/TR/scxml/#SelectingTransitions)
```diff
// ...
green: {
on: {
NOTHING: {
- target: 'green',
- internal: true,
actions: doSomething
}
}
}
```

0 comments on commit 0e24ea6

Please sign in to comment.