Skip to content

Commit 7d23ad4

Browse files
committed
fix links
1 parent da44902 commit 7d23ad4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/actors.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ In the actor model, actors are objects that can communicate with each other. The
3737

3838
Actor logic is the actor’s logical “model” (brain, blueprint, DNA, etc.) It describes how the actor should change behavior when receiving an event. You can create actor logic using **[actor logic creators](#actor-logic-creators)**. The types of actor logic you can create from XState are:
3939

40-
- [State machine logic (`createMachine(...)`)](#createMachine)
41-
- [Promise logic (`fromPromise(...)`)](#fromPromise)
42-
- [Transition function logic (`fromTransition(...)`)](#fromTransition)
43-
- [Observable logic (`fromObservable(...)`)](#fromObservable)
44-
- [Event observable logic (`fromEventObservable(...)`)](#fromEventObservable)
45-
- [Callback logic (`fromCallback(...)`)](#fromCallback)
40+
- [State machine logic (`createMachine(...)`)](#createmachine)
41+
- [Promise logic (`fromPromise(...)`)](#frompromise)
42+
- [Transition function logic (`fromTransition(...)`)](#fromtransition)
43+
- [Observable logic (`fromObservable(...)`)](#fromobservable)
44+
- [Event observable logic (`fromEventObservable(...)`)](#fromeventobservable)
45+
- [Callback logic (`fromCallback(...)`)](#fromcallback)
4646

4747
In XState, actor logic is defined by an object containing methods like `.transition(...)`, `.getInitialState()`, `.getSnapshot()`, and more. This object tells an interpreter how to update an actor’s internal state when it receives an event and which effects to execute (if any).
4848

0 commit comments

Comments
 (0)