redux-router: Client side: Warning: Failed propType: Required prop `location` was not specified in `RoutingContext`...

@acdlite here’s a reproduction of the problem - https://github.com/gpbl/redux500/commit/ea4d4c3e2ca9e34589d21cccec53e579a3f43e40

I am specifying my react-router routes as an object because I want to use require.ensure in my route definition.

warning.js:48 Warning: Failed propType: Required prop `location` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.
2015-09-21 11:39:13.060 warning.js:48 Warning: Failed propType: Required prop `routes` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.
2015-09-21 11:39:13.061 warning.js:48 Warning: Failed propType: Required prop `params` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.
2015-09-21 11:39:13.062 warning.js:48 Warning: Failed propType: Required prop `components` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.
2015-09-21 11:39:13.064 warning.js:48 Warning: Failed Context Types: Required child context `location` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Reactions: 4
  • Comments: 74 (3 by maintainers)

Most upvoted comments

Wrap with?

@acdlite any ways to resolve this?