Skip to content

Add live GraphQL data via Apollo bindings to components [WIP] #20

Closed
@PWAStudioBot

Description

@PWAStudioBot

From @ericerway on May 11, 2018 18:52

As a developer, I'd like to be able to specify my GraphQL queries on a per-component basis, so I do not need to think about orchestrating data fetching needs at an application level.

Acceptance Criteria:

  • The venia-pwa-concept theme is setup with react-apollo's provider that allows components in the tree to specify queries to be fetched, based on suggesting implementation path in the react-apollo docs
  • At least one component in the theme fetches live data through GraphQL, using Apollo Client's React bindings
  • Basic documentation is provided specifying how to attach a query to a React component

Copied from original issue: magento-research/venia-pwa-concept#69

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions