Top "React-router-v4" questions

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

How to push to History in React Router v4?

In the current version of React Router (v3) I can accept a server response and use browserHistory.push to go …

reactjs react-router react-router-v4
Programmatically navigate using react router V4

I have just replaced react-router from v3 to v4. But I am not sure how to programmatically navigate in the …

reactjs ecmascript-6 react-router-v4
React Router v4 - How to get current route?

I'd like to display a title in <AppBar /> that is somehow passed in from the current route. In …

reactjs react-router react-router-v4
Nested routes with react router v4 / v5

I am currently struggling with nesting routes using react router v4. The closest example was the route config in the …

javascript reactjs nested react-router react-router-v4
React Router with optional path parameter

I want to declare a path with an optional path parameter, hence when I add it the page to do …

javascript reactjs react-router react-router-v4
How to listen to route changes in react router v4?

I have a couple of buttons that acts as routes. Everytime the route is changed, I want to make sure …

react-router-v4
react-router (v4) how to go back?

Trying to figure out how can I go back to the previous page. I am using [react-router-v4][1] This is the …

javascript reactjs react-router-v4
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
Detect Route Change with react-router

I have to implement some business logic depending on browsing history. What I want to do is something like this: …

reactjs react-router react-router-v4 react-router-redux react-router-dom
Changing the URL in react-router v4 without using Redirect or Link

I'm using react-router v4 and material-ui in my React app. I was wondering how to change the URL once there …

javascript react-router material-ui react-router-v4