Closed pvijeh closed 7 years ago
The code for this app is currently broken out of the box.
I get this error after running npm install and then npm start:
TypeError: this.context.router.createHref is not a function Link.render webpack:///./~/react-router-dom/Link.js?:72:36 eval webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:796:21 measureLifeCyclePerf webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:75:12 ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:795:25 ReactCompositeComponentWrapper._renderValidatedComponent webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:822:32 ReactCompositeComponentWrapper.performInitialMount webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:362:30 ReactCompositeComponentWrapper.mountComponent webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:258:21 Object.mountComponent webpack:///./~/react-dom/lib/ReactReconciler.js?:46:35 ReactCompositeComponentWrapper.performInitialMount webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:371:34 ReactCompositeComponentWrapper.mountComponent webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:258:21
@pvijeh upgrade react router dom to version 4.0.0
The code for this app is currently broken out of the box.
I get this error after running npm install and then npm start:
TypeError: this.context.router.createHref is not a function Link.render webpack:///./~/react-router-dom/Link.js?:72:36 eval webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:796:21 measureLifeCyclePerf webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:75:12 ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:795:25 ReactCompositeComponentWrapper._renderValidatedComponent webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:822:32 ReactCompositeComponentWrapper.performInitialMount webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:362:30 ReactCompositeComponentWrapper.mountComponent webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:258:21 Object.mountComponent webpack:///./~/react-dom/lib/ReactReconciler.js?:46:35 ReactCompositeComponentWrapper.performInitialMount webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:371:34 ReactCompositeComponentWrapper.mountComponent webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:258:21