Skip to content

Commit 8eab4ab

Browse files
christianalfonigitbook-bot
authored andcommitted
GitBook: [v26] 44 pages modified
1 parent c17f6e6 commit 8eab4ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

addons/statecharts.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,10 @@ const chart: Statechart<typeof config, {
592592
export default statechart(config, chart)
593593
```
594594

595+
{% hint style="info" %}
596+
If you want to transition to a new state using an **entry**, you are free to call the action causing that transition from the **entry** action.
597+
{% endhint %}
598+
595599
### exit
596600

597601
When a transition state is changed, any exit defined in current transition state will be run first. Nested charts in a transition state with an exit defined will run before parents.

0 commit comments

Comments
 (0)