Top "React-router-v4" questions

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

Advantages of dynamic vs static routing in React

I'm reading about static vs dynamic routing in React Router, and I'm struggling to identify the advantages of the latter (…

reactjs react-router react-router-v4 dynamic-routing
Get an active route with react-router in ReactJs

I am creating a project using reactjs.In my application i am getting the active route using this: this.context.…

javascript reactjs react-router react-router-v4
React Router v4 setting activeClass on parent

Not too familiar with react router, but I need the functionality of the NavLink to set the active class on …

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

In reference to the unresolved question (as a final conclusion) Multiple Nested Routes in react-router-dom v4 How to nest routes …

reactjs react-router react-router-v4 react-router-dom
React Router: Query Param Match?

According to the accepted answer to this question, React Router 4 doesn't match query parameters anymore. If I go from a …

reactjs react-router react-router-v4 html5-history
Order of Provider and Router in React app

I'm making my React app a SPA and adding React Router 4 with react-router-dom to it. Currently, my entry point to …

reactjs react-router react-router-v4 react-router-dom
react router unmount function component

I am using React Router and have two routes that render the same component: <Switch> <Route path="/…

reactjs react-router react-router-v4 react-hooks
React router 4 history.listen never fires

Switched to router v4 and history v4.5.1 and now history listener not working import createBrowserHistory from 'history/createBrowserHistory' const history = …

reactjs redux react-router browser-history react-router-v4