Top "React-router" questions

React Router - A complete routing library for React inspired by Ember's routing system

How do you programmatically update query params in react-router?

I can't seem to find how to update query params with react-router without using <Link/>. hashHistory.push(url) …

reactjs react-router
Getting "Cannot call a class as a function" in my React Project

I'm trying to add a React map component to my project but run into an error. I'm using Fullstack React's …

javascript google-maps reactjs ecmascript-6 react-router
How to refresh a Page using react-route Link

I am trying to refresh a page using react-route Link. But the way I have implemented it goes to the …

javascript reactjs react-router
React-router v4 this.props.history.push(...) not working

I'm trying to route programatically using this.props.history.push(..) but it doesn't seem to work. Here's the router: import { …

javascript reactjs react-redux react-router
How to get rid of underline for Link component of React Router?

I have the following: How do I get rid of the blue underline? The code is below: <Link to="…

javascript reactjs react-router
How to set the DefaultRoute to another Route in React Router

I have the following: <Route name="app" path="/" handler={App}> <Route name="dashboards" path="dashboards" handler={Dashboard}&…

javascript routes reactjs url-redirection react-router
How to render an array of objects in React?

could you please tell me how to render a list in react js. I do like this https://plnkr.co/…

javascript reactjs react-router
How to get history on react-router v4?

I having some little issue migrating from React-Router v3 to v4. in v3 I was able to do this anywhere: …

reactjs react-router
React-Router open Link in new tab

Is there a way to get React Router to open a link in new tab? I tried this and it …

reactjs react-router
How to implement authenticated routes in React Router 4?

I was trying to implement authenticated routes but found that React Router 4 now prevents this from working: <Route exact …

javascript reactjs react-router react-router-v4