We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a106c7c commit 5a2e0adCopy full SHA for 5a2e0ad
src/routes/reference/components/show.mdx
@@ -72,6 +72,7 @@ function RenderFunctionExample() {
72
const [count, setCount] = createSignal(0);
73
return (
74
<div>
75
+ <button onClick={() => setCount((c) => c + 1)}>Increment</button>
76
{/* This does not update because the count signal is not being tracked. */}
77
<Show when={count()}>{() => count()}</Show>
78
{/* This will update because the outer JSX element creates a tracking scope. */}
0 commit comments