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/src/pages/docs/usage/extraction.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -344,6 +344,8 @@ async function AsyncExample() {
344
344
}
345
345
```
346
346
347
+
Note that `useExtracted` can be called in components, but also in hooks—which may come in handy if you want to share extracted labels.
348
+
347
349
## Monorepos and external packages [#monorepos-external-packages]
348
350
349
351
Whenever your app pulls in external modules that call `useExtracted`, whether it's a sibling package in your monorepo or a reusable library installed in `node_modules`, there are two typical setups you can choose from.
0 commit comments