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

Commit

Permalink
Export ApolloConsumer from index (#1484)
Browse files Browse the repository at this point in the history
* Export ApolloConsumer from index

* changelog
  • Loading branch information
rosskevin authored Dec 28, 2017
1 parent 5990fd8 commit c85d6b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ first three params (`TChildProps` can be derived). [#1402](https://github.com/ap
- Typescript - updated `types` for consistency and potential to pass through all types e.g. `TProps, TData, TGraphQLVariables` [#1402](https://github.com/apollographql/react-apollo/pull/1402)
- Typescript - added `ChildDataProps` and `ChildMutateProps` for optional stronger typed usage version of `ChildProps` [#1402](https://github.com/apollographql/react-apollo/pull/1402)
- Typescript - fix `graphql` HOC inference [#1402](https://github.com/apollographql/react-apollo/pull/1402)
- Added <Query /> component [#1398](https://github.com/apollographql/react-apollo/pull/1398)
- Added `<Query />` component [#1398](https://github.com/apollographql/react-apollo/pull/1398)
- Made prettier solely responsible for formatting, removed all formatting linting rules from tslint [#1452](https://github.com/apollographql/react-apollo/pull/1452)
- Add <ApolloConsumer /> component [#1399](https://github.com/apollographql/react-apollo/pull/1399)
- Add `<ApolloConsumer />` component [#1399](https://github.com/apollographql/react-apollo/pull/1399) [#1484](https://github.com/apollographql/react-apollo/pull/1484)
- Convert `Query.test` to `tsx` and parameterize types for `Query` [#1462](https://github.com/apollographql/react-apollo/pull/1462)
- Remove copied `shallowEqual` code and delegate to `fbjs` [#1465](https://github.com/apollographql/react-apollo/pull/1465)
- Update rollup configurations, refine package exports [#1467](https://github.com/apollographql/react-apollo/pull/1467)
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ export * from './getDataFromTree';

export { default as renderToStringWithData } from './renderToStringWithData';

export { default as ApolloConsumer } from './ApolloConsumer';
export * from './ApolloConsumer';

export { default as ApolloProvider } from './ApolloProvider';
export * from './ApolloProvider';

Expand Down

0 comments on commit c85d6b8

Please sign in to comment.