You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/reference/reactive-utilities/untrack.mdx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ export function Component(props) {
20
20
It is not necessary to manually untrack values that are suppose to serve as a default or initial value to a signal. Even with the linter configured to enforce tracking, the linter will accept it when a `prop` is prefixed with `default` or `initial` as it is a common pattern to use them as such.
21
21
22
22
23
-
```tsx tab title="initialValue" {4}
23
+
```tsx tab title="initialValue" {5}
24
24
// component.tsx
25
25
import { createSignal } from"solid-js"
26
26
@@ -32,7 +32,7 @@ export function Component(props) {
@@ -285,7 +285,7 @@ export default function Page() {
285
285
286
286
To safely interact with your database or ORM in a query, ensure it's server-only by adding [`"use server"`](/solid-start/reference/server/use-server) as the first line of your query:
0 commit comments