Skip to content

Commit 943bf96

Browse files
committed
update
1 parent c6373b3 commit 943bf96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/reference/rendering/render.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ Dispose function for the mounted root.
5555

5656
## Behavior
5757

58-
- `render` creates a new root and appends its output to `element`.
58+
- `render` is a browser/client API and is unsupported in the server bundle. It creates a new root and appends its output to `element`. When `element` is `document`, it evaluates `code()` directly instead of using DOM insertion.
5959
- The first argument must be a function so Solid can establish the root before evaluating JSX.
60-
- The returned function disposes the root and removes the rendered content.
60+
- The returned function disposes the root and clears the mount container's content, so mounting into an empty container is safest.
6161

6262
## Examples
6363

0 commit comments

Comments
 (0)