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

Commit 70f63ab

Browse files
MrLohhwillson
authored andcommitted
Export ApolloContext to use in classes or hooks (#2961)
* export ApolloContext to use in classes or hooks * Changelog update
1 parent bc527b1 commit 70f63ab

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change log
22

3+
## vNext
4+
5+
### Improvements
6+
7+
- Export the Apollo Context provider (`ApolloContext`). <br/>
8+
[@MrLoh](https://github.com/MrLoh) in [#2961](https://github.com/apollographql/react-apollo/pull/2961)
9+
10+
311
## 2.5.4 (2019-04-05)
412

513
### Bug Fixes

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export { ApolloContext } from './ApolloContext'
2+
13
export { default as ApolloConsumer } from './ApolloConsumer';
24
export * from './ApolloConsumer';
35

0 commit comments

Comments
 (0)