Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'skip' prop to Query's prop list. #3554

Merged
merged 4 commits into from
Jun 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/source/essentials/queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ The Query component accepts the following props. Only `query` and `children` are
<dd>The name of your component to be displayed in React DevTools. Defaults to 'Query'.</dd>
<dt>`delay`: boolean</dt>
<dd>If `delay` is true, the `Query` component will not fetch the query on mount although its children will still render. Use `delay` with `load` in the render prop function to manually fire the query.</dd>
<dt>`skip`: boolean</dt>
<dd>If skip is true, the query will be skipped entirely.</dd>
<dt>`context`: Record<string, any></dt>
<dd>Shared context between your Query component and your network interface (Apollo Link). Useful for setting headers from props or sending information to the `request` function of Apollo Boost.</dd>
</dl>
Expand Down