Skip to content

Commit

Permalink
Remove duplicate phrasing in state management docs (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
BStephenBB authored Jul 18, 2024
1 parent d1ec214 commit add7d9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/guides/state-management.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ One way data flow simplifies the management of data and user interactions, which

## Managing basic state

State is the data that is used to determine what content to display to the user.
It is the source of truth for the application, and is used to determine what content to display to the user.
State is the source of truth for the application, and is used to determine what content to display to the user.
State is represented by a [signal](/concepts/signals), which is a reactive primitive that manages state and notifies the UI of any changes.

To create a piece of state, you use the [`createSignal`](/reference/basic-reactivity/create-signal) function and pass in the initial value of the state:
Expand Down

0 comments on commit add7d9f

Please sign in to comment.