Skip to content

Commit d19e622

Browse files
authored
docs: update create -> createRoot (#9750)
1 parent 61e5e53 commit d19e622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3028,7 +3028,7 @@ export function createRoot(component, options) {
30283028
/**
30293029
* Mounts the given component to the given target and returns the accessors of the component and a function to destroy it.
30303030
*
3031-
* If you need to interact with the component after mounting, use `create` instead.
3031+
* If you need to interact with the component after mounting, use `createRoot` instead.
30323032
*
30333033
* @template {Record<string, any>} Props
30343034
* @template {Record<string, any> | undefined} Exports

0 commit comments

Comments
 (0)