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
Copy file name to clipboardExpand all lines: documentation/docs/20-core-concepts/20-load.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,6 +216,8 @@ export async function load({ data }) {
216
216
}
217
217
```
218
218
219
+
> It's important to not modify `data` to include any non-serializable objects since it will be processed by the **server**`load` after the **universal**`load` returns.
220
+
219
221
## Using URL data
220
222
221
223
Often the `load` function depends on the URL in one way or another. For this, the `load` function provides you with `url`, `route` and `params`.
0 commit comments