You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Only available on the server and when compiling with the `server` option.
126
62
* Takes a component and returns an object with `body` and `head` properties on it, which you can use to populate the HTML when server-rendering your app.
@@ -553,14 +489,16 @@ export function props_id(payload) {
Copy file name to clipboardExpand all lines: packages/svelte/src/internal/shared/errors.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,12 @@ export function invalid_default_snippet() {
18
18
}
19
19
20
20
/**
21
-
* A snippet function was passed invalid arguments. A snippet function should only be called via `{@render ...}`
21
+
* A snippet function was passed invalid arguments. Snippets should only be instantiated via `{@render ...}`
22
22
* @returns {never}
23
23
*/
24
24
exportfunctioninvalid_snippet_arguments(){
25
25
if(DEV){
26
-
consterror=newError(`invalid_snippet_arguments\nA snippet function was passed invalid arguments. A snippet function should only be called via \`{@render ...}\`\nhttps://svelte.dev/e/invalid_snippet_arguments`);
26
+
consterror=newError(`invalid_snippet_arguments\nA snippet function was passed invalid arguments. Snippets should only be instantiated via \`{@render ...}\`\nhttps://svelte.dev/e/invalid_snippet_arguments`);
0 commit comments