Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/routes/concepts/refs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function App() {
<button onClick={() => setShow((isShown) => !isShown)}>Toggle</button>

<Show when={show()}>
<p ref={setElement}>This is the ref element</p>
<p ref={element}>This is the ref element</p>
</Show>
</div>
)
Comment thread
LadyBluenotes marked this conversation as resolved.
Expand Down
Loading