In a react router, is it changing the url but not navigating?

I have a button, in onclick I make a transition, the url refreshes correctly, but it stays on the same page. I stepped through the passage. It found a route, does location.push, just never navigates anywhere?

var routes = (
    <Route handler={App} path="/">
        <DefaultRoute handler={LandingPage}/>
        <Route name="createEvent" path="createEvent" handler={CreateEvent}/>
        <NotFoundRoute handler={NotFound}/>
    </Route>
);

      

React 13.3, React-Router 13.3

Here's a list containing the relevant files: https://gist.github.com/ocorpening/d178e1907738e19287d0

+3
reactjs react-router


source to share


No one has answered this question yet

Check out similar questions:

1203
Navigate programmatically using responsive router
1094
Loop inside React JSX
501
React router urls not working when updated or manually written
303
Navigate Programmatically with V4 Reactive Router
299
How to push to History in React Router v4?
289
react-router - pass props to the handler component
251
React Router with optional path parameter
230
Nested Routes with Responsive Router v4 / v5
6
React-router urls do not match Apache reverse proxy
1
React Router Default Route Redirect to / home



All Articles
Loading...
X
Show
Funny
Dev
Pics