Skip to content

Commit b6c3ae1

Browse files
docs: escape backticks. (#47)
1 parent 7cfb529 commit b6c3ae1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ document.querySelector('header')!.append(header)
304304
document.querySelector('footer')!.append(header) // footer stays empty
305305
```
306306

307-
When you need multiple copies, call the template again, wrap it in a helper (`const makeHeader = () => jsx`<...>`; makeHeader()`), or clone the fragment before reusing it (`footer.append(header.cloneNode(true))`). Components that return fragments are unaffected because every invocation produces a fresh fragment.
307+
When you need multiple copies, call the template again, wrap it in a helper (``const makeHeader = () => jsx`<...>`; makeHeader()``), or clone the fragment before reusing it (`footer.append(header.cloneNode(true))`). Components that return fragments are unaffected because every invocation produces a fresh fragment.
308308

309309
## Limitations
310310

0 commit comments

Comments
 (0)