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: docs/API/hooks.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,10 +188,13 @@ function App() {
188
188
}
189
189
```
190
190
191
+
> [!TIP]
192
+
> Internally, `useLoader` relies on [`suspend-react`](https://github.com/pmndrs/suspend-react).
193
+
191
194
> [!NOTE]
192
195
> Assets loaded with useLoader are cached by default. The urls given serve as cache-keys. This allows you to re-use loaded data everywhere in the component tree.
193
196
194
-
> [!NOTE]
197
+
> [!WARNING]
195
198
> Be very careful with mutating or disposing of loaded assets, especially when you plan to re-use them. Refer to the automatic disposal section in the API.
0 commit comments