Top "React-router" questions

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

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 External link

Since I'm using react-router to handle my routes in a react app, I'm curious if there is a way to …

javascript reactjs redirect react-router react-router-redux
What is the best way to redirect a page using React Router?

I am new to React Router and learn that there are so many ways to redirect a page: Using browserHistory.…

reactjs redux react-router
React.createElement: type is invalid -- expected a string

Trying to get react-router (v4.0.0) and react-hot-loader (3.0.0-beta.6) to play nicely, but getitng the following error in the browser console: …

reactjs react-router react-hot-loader
react-router - pass props to handler component

I have the following structure for my React.js application using React Router: var Dashboard = require('./Dashboard'); var Comments = …

javascript properties reactjs react-router
React-router: How to manually invoke Link?

I'm new to ReactJS and to React-Router. I have a component that receives through props a <Link/> object …

javascript reactjs react-router
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
React-Router: No Not Found Route?

Consider the following: var AppRoutes = [ <Route handler={App} someProp="defaultProp"> <Route path="/" handler={Page} /> </Route&…

javascript reactjs react-router
How to use onClick event on react Link component?

I am using the Link component from the reactjs router and I cannot get the onClickevent working. This is the …

reactjs react-router react-redux
Getting query parameters from react-router hash fragment

I'm using react and react-router for my application on the client side. I can't seem to figure out how to …

javascript reactjs client-side react-router client-side-scripting