Skip to content

Commit 220fb5e

Browse files
authored
docs: Fix Typo in advanced tutorial (#863)
Update index.md Fix Typo
1 parent 2e91d80 commit 220fb5e

File tree

1 file changed

+1
-1
lines changed
  • apps/svelte.dev/content/tutorial/02-advanced-svelte/01-advanced-reactivity/01-raw-state

1 file changed

+1
-1
lines changed

apps/svelte.dev/content/tutorial/02-advanced-svelte/01-advanced-reactivity/01-raw-state/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Raw state
44

55
In previous exercises, we learned that state is [deeply reactive](deep-state) — if you (for example) change a property of an object, or push to an array, it will cause the UI to update. This works by creating a [proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) that intercepts reads and writes.
66

7-
Occasionally, that's not what you want. If you're not changing individual properties, or if it's important to main referential equality, then you can use _raw state_ instead.
7+
Occasionally, that's not what you want. If you're not changing individual properties, or if it's important to maintain referential equality, then you can use _raw state_ instead.
88

99
In this example, we have a chart of Svelte's steadily increasing stock price. We want the chart to update when new data comes in, which we could achieve by turning `data` into state...
1010

0 commit comments

Comments
 (0)