Package Exports
- @times-components/provider-queries
- @times-components/provider-queries/dist/provider-queries.js
- @times-components/provider-queries/rnw
- @times-components/provider-queries/rnw.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@times-components/provider-queries) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Provider Queries
The home for all GraphQL queries to be shared by Times Components. Having them in once place makes it easier to share them around and keep specific linting rules in one place
How to use
Simply import a query .graphql file:
import exampleImport from "./example.graphql";This is possible by using the babel-plugin-import-graphql plugin. Typically you would
pass this into an Apollo GraphQL HOC such as connect from the provider
package. They can also be used for testing and generating fixtures.
Contributing
Please read CONTRIBUTING.md before contributing to this package
Running the code
Please see our main README.md to get the project running locally
Development
The code can be formatted and linted in accordance with the agreed standards.
yarn fmt
yarn lint