You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced/DynamicRouting.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ var CourseRoute = {
28
28
})
29
29
},
30
30
31
-
getComponents(callback) {
31
+
getComponents(location, callback) {
32
32
require.ensure([], function (require) {
33
33
callback(null, require('./components/Course'))
34
34
})
@@ -38,4 +38,4 @@ var CourseRoute = {
38
38
39
39
Now go look at what hacks you have in place to do this. Just kidding, I don't want to make you sad right now.
40
40
41
-
Run the [huge apps](https://github.com/rackt/react-router/tree/master/examples/huge-apps) example with your web inspector open and watch code get loaded in as you navigate around the demo.
41
+
Run the [huge apps](https://github.com/rackt/react-router/tree/master/examples/huge-apps) example with your web inspector open and watch code get loaded in as you navigate around the demo.
0 commit comments