File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ anymore. Our mixins like `State` and `Navigation` just proxied calls to
14
14
some methods on an undocumented feature of React called ` context ` , that
15
15
in turn called methods on the router instance under the hood.
16
16
17
- Note, you can still use our mixins, you'll just get a deprecation warning.
18
-
19
17
Without mixins we needed a way for you to get access to these methods.
20
18
We decided the simplest solution was to stop hiding the router instance
21
19
and just put the whole thing on context.
@@ -25,6 +23,8 @@ tree that parent components (`Handler` in the `Router.run` callback) can
25
23
explicitly define and descendent components can explicitly ask for. The
26
24
stuff on context doesn't show up in a component unless you ask for it.
27
25
26
+ ** Note:** You can still use our mixins, you'll just get a deprecation warning.
27
+
28
28
``` js
29
29
// 0.12.x
30
30
var Foo = React .createClass ({
You can’t perform that action at this time.
0 commit comments