Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Releases: apollographql/react-apollo

Fix issue with changing outer props *and not changing variables*

14 Oct 01:05
Compare
Choose a tag to compare

Fix some bugs around skipping

11 Oct 23:54
Compare
Choose a tag to compare
  • Bug: Fix and test some subtle bugs around skipping and subscriptions. #260

Feature party

08 Oct 02:56
Compare
Choose a tag to compare
  • Feature: Remove nested imports for apollo-client. Making local development easier. #234
  • Feature: Move types to dev deps #251
  • Feature: New method for skipping queries which bypasses HOC internals #253
  • Feature: Integrated subscriptions! #256
  • Feature: Refactor loading state management to use apollo-client fully. Reduces library size by ~50% #211

Update typescript and extended apollo-client features

27 Sep 16:44
Compare
Choose a tag to compare

Fix SSR bugs

22 Sep 00:45
Compare
Choose a tag to compare
v0.5.6

update meta for release

Fix SSR issues with lifecycle events

12 Sep 12:54
Compare
Choose a tag to compare

Better support for early bound updateQueries

09 Sep 03:17
Compare
Choose a tag to compare
v0.5.4

fix updateQuery early usage (#204)

Fix bug with updateQuery lifecycle event

09 Sep 00:47
Compare
Choose a tag to compare
UpdateQuery in componentWillMount (#203)

* failing test for updateQuery in componentWillMount

* fix #202

Allow optional props

07 Sep 13:58
Compare
Choose a tag to compare

See #200 for more details and #197 for initial discussion

Expose `compose` method

06 Sep 01:01
Compare
Choose a tag to compare

from #194

This makes including multiple graphql HOCs on a single component much easier. It uses the compose method from recompose.

// component
const Template = (props) => (<div></div>);

// old
import { graphql } from 'react-apollo';

const withPeople = graphql(peopleQuery, { name: 'people' });
const withShips = graphql(shipsQuery, { name: 'ships' });

const ContainerWithData = withPeople(withShips(Template));

// new
import { compose, graphql } from 'react-apollo';

const ContainerWithData = compose(
  graphql(peopleQuery, { name: 'people' }),
  graphql(shipsQuery, { name: 'ships' })
)(Template);