Skip to content

Commit 7b6bb04

Browse files
committed
more upgrade notes
1 parent 57de0c1 commit 7b6bb04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

upgrade-guides/v2.0.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@
44

55
### Goals
66

7+
You might enjoy reading this issue: https://github.com/rackt/react-router/issues/2646
8+
79
1. Clear up the coupling between History and Router with simpler APIs.
810

911
2. Provide cleaner integrations with other libraries like Redux, Relay, Async Props etc.
1012

1113
3. Stop providing API that conceals usage of `context`. It is now a documented feature of React so developers using Router can implement their own opinions on how best to use context: Mixins, higher-order components, decorators, etc. React Router no longer has an opinion, but instead uses the lowest level feature of React. This project wants to be an incredibly useful routing library and doesn't want to get hung up on best-practice patterns for getting stuff from up top to down low.
1214

15+
4. Draw a clean line between what goes to Route Components as `props` and what goes on `context`.
16+
1317
For more information see [https://github.com/rackt/react-router/issues/2646]
1418

1519
For a lot of apps this upgrade might look like API churn. Underneath the hood there are significant differences that make integrating with the rest of the React ecosystem more straightforward. Thanks for your continued patience and support as we all build this tool together. It's hard to imagine the top-level API changing much after this. But if it does, rest assured we are committed to ...

0 commit comments

Comments
 (0)