Skip to content

Commit 15514e8

Browse files
quentinus95Akryum
authored andcommitted
docs: component will be renderless if null is passed to tag (#458)
* component will be renderless if null is passed to tag * Update apollo-query.md
1 parent b0e60c5 commit 15514e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/apollo-query.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- `skip`: Boolean disabling query fetching
1212
- `clientId`: Used to resolve the Apollo Client used (defined in ApolloProvider)
1313
- `deep`: Boolean to use deep Vue watchers
14-
- `tag`: String HTML tag name (default: `div`); if `undefined`, the component will be renderless (the content won't be wrapped in a tag)
14+
- `tag`: String HTML tag name (default: `div`); if falsy (for example `null` or `undefined`), the component will be renderless (the content won't be wrapped in a tag). In this case, only the first child will be rendered.
1515
- `debounce`: Number of milliseconds for debouncing refetches (for example when the variables are changed)
1616
- `throttle`: Number of milliseconds for throttling refetches (for example when the variables are changed)
1717

0 commit comments

Comments
 (0)