Top "React-router-redux" questions

A library of bindings to keep react-router and redux in sync (formerly known as redux-simple-router).

Configuring app's basename in react-router

I'm struggling a bit with react-router 2.x configuration, specifically app basename. I've an application which may have different base root …

react-router react-router-redux
react-router Redirect vs history.push

I was reading react-router-redux examples and I confused, what is the difference beetween: import { Redirect } from 'react-router-dom' ... <Redirect to=…

react-router react-router-v4 react-router-redux react-router-dom
How to dispatch Redux action from stateless component when route is loaded?

Goal: when loading a react-router route, dispatch a Redux action requesting asynchronic Saga worker to fetch data for the underlying …

reactjs react-redux react-router-redux redux-saga
React-Router: how to wait for an async action before route transition

Is it possible to call an async redux action known as a thunk on a particular route and not perform …

reactjs state redux react-router react-router-redux
How to access history.listen in a React component?

I have a specific component who would like to be notified every time the user navigates. Is there some way …

react-router react-router-redux
react-router: how to get the previous route in onEnter handler?

I'm trying to find a way to read the previous route/path when a user hits a new one, within …

reactjs react-router react-router-redux
React Router or Link Not Rendered

I am using react-router-dom in a redux app. This is my initial setup in index.js: ReactDOM.render( <Provider …

reactjs react-redux react-router-redux react-router-dom
React-router Link, pass in params

If you have a route such as: <Route path="/users/:userId" /> And then you export that route, and …

reactjs react-router react-router-redux
Update Redux state on route change

I've been trying to figure this out for a while and I'm getting more and more confused. I want to …

reactjs redux react-router-redux
getting 404 for links with create-react-app deployed to github pages

I'm trying to deploy a create-react-app to a relative path on GitHub pages with a custom domain. E.g. www.…

react-router create-react-app react-router-redux