Skip to content

Commit 8050cdf

Browse files
authored
Fix broken urls (#224)
1 parent bba581f commit 8050cdf

File tree

1 file changed

+3
-3
lines changed
  • blog/2023-10-02-what-is-a-state-machine

1 file changed

+3
-3
lines changed

blog/2023-10-02-what-is-a-state-machine/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Visually, state machines are just boxes and arrows. The building blocks of a sta
4545

4646
### States
4747

48-
A [state](/docs/states/intro) represents a particular situation, mode, or status that something can be in. For instance, an e-commerce site’s order can be in the _Pending_, _Shipped_, _Delivered_, or _Returned_ states. Each of these is a finite state, contributing to the entire lifecycle of an order.
48+
A [state](/docs/state-machines-and-statecharts#states) represents a particular situation, mode, or status that something can be in. For instance, an e-commerce site’s order can be in the _Pending_, _Shipped_, _Delivered_, or _Returned_ states. Each of these is a finite state, contributing to the entire lifecycle of an order.
4949

5050
<p>
5151
<ThemedImage
@@ -59,7 +59,7 @@ A [state](/docs/states/intro) represents a particular situation, mode, or status
5959

6060
Finite states are **deterministic**, meaning that something can only be in exactly one finite state at a time. An order cannot be in both the _Pending_ and _Delivered_ states at the same time, just like you can’t be in both the _Asleep_ and _Awake_ states simultaneously.
6161

62-
State machines always start at an **[initial state](/docs/states/initial-states)** and may end up in a **[final state](/docs/states/final-states)**, indicating that the state machine is “done” and can no longer transition to any other state.
62+
State machines always start at an **[initial state](/docs/state-machines-and-statecharts#initial-state)** and may end up in a **[final state](/docs/state-machines-and-statecharts#final-state)**, indicating that the state machine is “done” and can no longer transition to any other state.
6363

6464
### Events
6565

@@ -77,7 +77,7 @@ Events are occurrences; they’re a record that something happened. Using the pr
7777

7878
### Transitions
7979

80-
A state [transition](/docs/transitions-and-events/intro) describes how a system “moves” from one state to another. These are the arrows between the states, labeled by the event that causes the transition to occur.
80+
A state [transition](/docs/transitions) describes how a system “moves” from one state to another. These are the arrows between the states, labeled by the event that causes the transition to occur.
8181

8282
In state machines, transitions always happen immediately. For example, an order can be _Pending_ for some time (almost frustratingly so), but when the _item shipped_ event occurs, it immediately transitions to the _Shipped_ state.
8383

0 commit comments

Comments
 (0)