This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Releases: apollographql/react-apollo
Releases · apollographql/react-apollo
Fix issue with changing outer props *and not changing variables*
Fix some bugs around skipping
- Bug: Fix and test some subtle bugs around skipping and subscriptions. #260
Feature party
- 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
v0.5.7 updated changelog
Fix SSR bugs
v0.5.6 update meta for release
Fix SSR issues with lifecycle events
See #205 for changes
Better support for early bound updateQueries
v0.5.4 fix updateQuery early usage (#204)
Fix bug with updateQuery lifecycle event
UpdateQuery in componentWillMount (#203) * failing test for updateQuery in componentWillMount * fix #202
Allow optional props
Expose `compose` method
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);