File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,19 @@ React Router API
18
18
- Mixins
19
19
- [ ` ActiveState ` ] ( /docs/api/mixins/ActiveState.md )
20
20
- [ ` AsyncState ` ] ( /docs/api/mixins/AsyncState.md )
21
-
21
+ - [ ` PathState ` ] ( /docs/api/mixins/PathState.md )
22
+ - [ ` RouteLookup ` ] ( /docs/api/mixins/RouteLookup.md )
23
+ - [ ` Transitions ` ] ( /docs/api/mixins/Transitions.md )
22
24
23
25
Public Modules
24
26
--------------
25
27
26
- All modules found at the repository root are considered public. You can
27
- require them conveniently with ` var Route = require('react-router/Route'); ` etc .
28
+ While there are many modules in this repository, only those found on the
29
+ default export are considered public .
28
30
29
- Note that we do not support requiring modules from our ` modules `
30
- directory. (No notes in the changelog, no changes to the versioning of
31
- the lib, etc.)
31
+ ``` js
32
+ var Router = require (' react-router' );
33
+ var Link = Router .Link // yes
34
+ var Link = require (' react-router/modules/components/Link' ) // no
35
+ ```
32
36
You can’t perform that action at this time.
0 commit comments