docs: 'props' option to queries not documented
See original GitHub issueI don’t see explicit documentation of props
in https://www.apollographql.com/docs/react/basics/queries.html
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Queries - Apollo GraphQL Docs
This article shows how to fetch GraphQL data in React with the useQuery hook and attach the result to your UI. You'll also...
Read more >useQuery | TanStack Query Docs
This option can be used to transform or select a part of the data returned by the query function. It affects the returned...
Read more >QueryRenderer | Relay
A QueryRenderer is a React Component at the root of a Relay component tree. It takes a query, fetches the given query, and...
Read more >firebase/firestore - JavaScript API reference - Google
This includes pending writes and cached documents.Must be called while the Firestore instance is not started (after the app is terminated or when...
Read more >Query API - SQLAlchemy 1.4 Documentation
It features a generative interface whereby successive calls return a new Query object, a copy of the former with additional criteria and options...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@glasser It’s being tracked in a milestone for the docs so this should get updated in due time.
Now my 2c: I think the docs need to be more clear that the props of the HOC get passed to through to the Component. For those who are missing HOC knowledge, it’s not immediately clear that this happens. It would be great if the docs explored more than one example of utilising options, with a more comprehensive example (multiple props, using some props in the computed option and the rest in the component, etc)
Oh I see it’s in https://www.apollographql.com/docs/react/basics/queries.html#graphql-props-option but not in the API section. Still confusing.