Top "React-router" questions

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

Programmatically navigate using react router

With react-router I can use the Link element to create links which are natively handled by react router. I see …

reactjs react-router
React - How to get parameter value from query string?

How can I define a route in my routes.jsx file to capture the __firebase_request_key parameter value from …

reactjs react-router
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
Uncaught Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function but got: object

I am getting this error: Uncaught Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or …

reactjs react-router
React-router urls don't work when refreshing or writing manually

I'm using React-router and it works fine while I'm clicking on link buttons, but when I refresh my webpage it …

javascript reactjs url react-router
react-router go back a page how do you configure history?

Can anyone please tell me how I can go back to the previous page rather than a specific route? When …

javascript reactjs react-router
How to pass params with history.push/Link/Redirect in react-router v4?

How can we pass parameter with this.props.history.push('/page') in React-Router v4? .then(response => { var r = …

reactjs react-router
How to use Redirect in the new react-router-dom of Reactjs

I am using the last version react-router module, named react-router-dom, that has become the default when developing web applications with …

javascript reactjs react-router
Pass props in Link react-router

I am using react with react-router. I am trying to pass property’s in a "Link" of react-router var React = …

javascript reactjs react-router
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