We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
create
createRoot
1 parent 61e5e53 commit d19e622Copy full SHA for d19e622
packages/svelte/src/internal/client/render.js
@@ -3028,7 +3028,7 @@ export function createRoot(component, options) {
3028
/**
3029
* Mounts the given component to the given target and returns the accessors of the component and a function to destroy it.
3030
*
3031
- * If you need to interact with the component after mounting, use `create` instead.
+ * If you need to interact with the component after mounting, use `createRoot` instead.
3032
3033
* @template {Record<string, any>} Props
3034
* @template {Record<string, any> | undefined} Exports
0 commit comments