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

Export ApolloConsumer from index #1484

Merged
merged 3 commits into from
Dec 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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