question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docs: 'props' option to queries not documented

See original GitHub issue

I don’t see explicit documentation of props in https://www.apollographql.com/docs/react/basics/queries.html

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
jthegeduscommented, Dec 15, 2017

@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)

3reactions
glassercommented, Nov 9, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found