|
|
@ -21,7 +21,7 @@ Version 16.3 introduces a new context API that is more efficient and supports bo |
|
|
|
> |
|
|
|
> The old context API will keep working for all React 16.x releases, so you will have time to migrate. |
|
|
|
|
|
|
|
Here is an example of how you might inject a "theme" using the new context API: |
|
|
|
Here is an example illustrating how you might inject a "theme" using the new context API: |
|
|
|
`embed:16-3-release-blog-post/context-example.js` |
|
|
|
|
|
|
|
[Learn more about the new context API here.](#) |
|
|
|