{"action":"closed","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/1561","labels_url":"https://api.github.com/repos/rackt/react-router/issues/1561/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/1561/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/1561/events","html_url":"https://github.com/rackt/react-router/issues/1561","id":95508769,"number":1561,"title":"What is the standard way to get exact isActive() match in 1.0.0?","user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-16T19:32:37Z","updated_at":"2015-09-09T09:20:26Z","closed_at":"2015-09-09T09:20:26Z","body":"Here are my routes:\r\n\r\n```\r\nvar routes = <Router history={history}>\r\n  <Route component={App}>\r\n    <Route path=\"/\" component={Home}/>\r\n    <Route path=\"/alerts\" component={Alerts}/>\r\n  </Route>\r\n</Router>;\r\n```\r\n\r\nIn my navbar, I have some Bootstrap-styled links:\r\n\r\n```\r\n<li className={this.isActive('/') ? 'active': ''}><Link to=\"/\">Home</Link></li>\r\n<li className={this.isActive('/alerts') ? 'active': ''}><Link to=\"/alerts\">Alerts</Link></li>\r\n```\r\n\r\nAs you might have guessed, when the user is at /alerts both links are highlighted as active.\r\n\r\nWhat would be the standard way in 1.0.0 to determine if just `/` is active (and not any child route)?"}}