Skip to content

Commit 6226bef

Browse files
christianalfonigitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent a4cfbb7 commit 6226bef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/defining-state.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ export const state = {
373373
{% endtab %}
374374
{% endtabs %}
375375

376+
You set an **initial** state and then you create a relationship between the different states and what states they can transition into. So when **unauthenticated** is the state, only logic triggered with an **authenticating** transition will run, any other transition triggered will not run its logic.
377+
376378
### Transitioning
377379

378380
{% tabs %}

0 commit comments

Comments
 (0)