{"action":"closed","issue":{"url":"https://api.github.com/repos/ReactTraining/react-router/issues/5487","repository_url":"https://api.github.com/repos/ReactTraining/react-router","labels_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5487/labels{/name}","comments_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5487/comments","events_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5487/events","html_url":"https://github.com/ReactTraining/react-router/issues/5487","id":254539658,"number":5487,"title":"Missing path prop on <Route/> does not cause warning or error","user":{"login":"jcheroske","id":3675338,"avatar_url":"https://avatars2.githubusercontent.com/u/3675338?v=4","gravatar_id":"","url":"https://api.github.com/users/jcheroske","html_url":"https://github.com/jcheroske","followers_url":"https://api.github.com/users/jcheroske/followers","following_url":"https://api.github.com/users/jcheroske/following{/other_user}","gists_url":"https://api.github.com/users/jcheroske/gists{/gist_id}","starred_url":"https://api.github.com/users/jcheroske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcheroske/subscriptions","organizations_url":"https://api.github.com/users/jcheroske/orgs","repos_url":"https://api.github.com/users/jcheroske/repos","events_url":"https://api.github.com/users/jcheroske/events{/privacy}","received_events_url":"https://api.github.com/users/jcheroske/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-01T05:27:37Z","updated_at":"2017-09-01T07:24:02Z","closed_at":"2017-09-01T07:24:02Z","author_association":"NONE","body":"<!--\r\nThank you for contributing!\r\n\r\nHave a usage question?\r\n======================\r\nThe issue tracker is meant for bug reports only. This isn't the best place for usage questions. Questions here don't have as much visibility as they do elsewhere. Before you ask a question, here are some resources to get help first:\r\n\r\n- Read the docs: https://reacttraining.com/react-router\r\n- Check out the list of frequently asked questions: https://github.com/ReactTraining/react-router/blob/master/FAQ.md\r\n- Explore examples: https://reacttraining.com/react-router/web/example/basic\r\n- Look for/ask questions on Stack Overflow: https://stackoverflow.com/questions/ask?tags=react-router\r\n- Ask in chat: https://discord.gg/0ZcbPKXt5bYaNQ46\r\n\r\nThink you found a bug?\r\n======================\r\nThe best bug report is a failing test in the repository as a pull request. Otherwise, please use the \"BUG REPORT\" template below.\r\n\r\nHave a feature request?\r\n=======================\r\nRemove the template from below and provide thoughtful commentary *and code samples* on what this feature means for your product. What will it allow you to do that you can't do today? How will it make current work-arounds straightforward? What potential bugs and edge cases does it help to avoid? etc. Please keep it product-centric.\r\n-->\r\n\r\n<!-- BUG TEMPLATE -->\r\n## Version\r\n4.2.2\r\n\r\n## Steps to reproduce\r\nMake a simple mistake while using the `Route` component, such as:\r\n```\r\n<Route to='/some/path' component={Foo} />\r\n```\r\n\r\n## Expected Behavior\r\nA PropTypes warning for the missing `path` prop at least. Recommendation: use the `prop-types-exact` package to enforce allowing only the props listed in the component's `propTypes`.\r\n\r\n## Actual Behavior\r\nNo error or warning is generated.\r\n"}}
{"actor":{"display_login":"pshrmn"}}