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

Commit

Permalink
Export ApolloContext to use in classes or hooks (#2961)
Browse files Browse the repository at this point in the history
* export ApolloContext to use in classes or hooks

* Changelog update
  • Loading branch information
MrLoh authored and hwillson committed Apr 21, 2019
1 parent bc527b1 commit 70f63ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change log

## vNext

### Improvements

- Export the Apollo Context provider (`ApolloContext`). <br/>
[@MrLoh](https://github.com/MrLoh) in [#2961](https://github.com/apollographql/react-apollo/pull/2961)


## 2.5.4 (2019-04-05)

### Bug Fixes
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export { ApolloContext } from './ApolloContext'

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

Expand Down

0 comments on commit 70f63ab

Please sign in to comment.