Skip to content

Commit

Permalink
Update intro-to-reactivity.mdx (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdaly3 authored Aug 22, 2024
1 parent 3d47de3 commit 297b61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/concepts/intro-to-reactivity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function Counter() {
```

Components, much like other functions, will only run _once_.
This means that if a signal is accessed outside of the return statement, will run on initialization, but any updates to the signal will not trigger an update.
This means that if a signal is accessed outside of the return statement, it will run on initialization, but any updates to the signal will not trigger an update.

```jsx
function Counter() {
Expand Down

0 comments on commit 297b61e

Please sign in to comment.