Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

(React Router) pushState doesn't seem to work #18

Closed
MickCoelho opened this issue Mar 23, 2015 · 3 comments
Closed

(React Router) pushState doesn't seem to work #18

MickCoelho opened this issue Mar 23, 2015 · 3 comments
Labels

Comments

@MickCoelho
Copy link

When updating the route to something like that:

<Route path="/" handler={Main} >
        <Route name="page1" handler={Page1}/>
        <Route name="page2" handler={Page2}/>
</Route>

The ReactRouter doesn't seem to take advantages of pushState and rewrite the full html page (reloads all the scripts attached to it).

@RickWong
Copy link
Owner

How do you render the links? Can you show me that code?

@MickCoelho
Copy link
Author

Ok, that's actually fine.
Was using the links the wrong way, my bad!

@RickWong RickWong changed the title pushState doesn't seem to work (React Router) pushState doesn't seem to work Mar 23, 2015
@RickWong
Copy link
Owner

Okay cool, thanks for reporting back.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants