Top "React-router-v4" questions

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

ReactJS Router V4 history.push not working

I have upgraded to React Router V4 and now struggling with the history.push method. I have an index.js …

reactjs react-router react-router-v4
Nested Routes in React Router v4

I'm trying to set up some nested routes to add a common layout. Check the code out: <Router> &…

react-router react-router-v4
React Router v4 Redirecting on form submit

Brand new to react, Attempting to redirect to a "homepage" after clicking submit on a "login" page. Tried to follow …

reactjs react-router-v4
React router Switch behavior

(react-router-dom version: 4.1.1) I have working routes set up, but I'm a bit confused about why the <Switch> was …

reactjs react-router react-router-v4 react-router-dom
React Router v4 routes not working

I am relatively new to reacts and I'm trying to figure out how to get React router to work. I've …

reactjs react-router react-router-v4
React doesn't reload component data on route param change or query change

I have a "home" component with links, and when you click a link the product component is loaded with the …

javascript reactjs react-router react-router-v4 react-router-dom
How to use react-router 4.0 to refresh current route? not reload the whole page

'react-router-dom' has refresh function here, but I don't know how to call this method, also their well formatted document doesn't …

reactjs react-router react-router-v4
Is there a way to modify the page title with React-Router v4+?

I'm looking for a way to modify the page title when React-Router v4+ changes locations. I used to listen for …

reactjs react-router react-router-v4 page-title connected-react-router
react-router 4 - Browser history needs a DOM

I am trying server side rendering using react-router 4. I am following the example provided here https://reacttraining.com/react-router/web/…

react-router-v4
React Hooks with React Router v4 - how do I redirect to another route?

I have a simple react hooks application - a list of Todos - with react router v4 On the List …

javascript reactjs react-router react-router-v4 react-hooks