Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip null paths created by hash routing #20

Merged
merged 1 commit into from
Apr 27, 2017
Merged

Conversation

AdeelK93
Copy link
Contributor

Similar to #13 but with newer version of react-snapshot. Prevents crashing due to hash routing.

@geelen geelen merged commit 6b0c63e into geelen:master Apr 27, 2017
@michaellopez
Copy link

@AdeelK93 @geelen This won't work for paths like /somewhere#hash-route-here, will it? Is it suppose to be supported? My PR in #13 didn't either, just something I thought of now :)

@AdeelK93
Copy link
Contributor Author

Is it possible to pre-render a hash route at all? I didn't think it was possible, but I could be totally wrong.

I'm mostly using this because I can get at least a menu bar and loading icon up on my hash routed app while the rest of the bundle is being loaded, and react-snapshot makes that really easy

@michaellopez
Copy link

@AdeelK93 I was more referring to links that aren't routes, but rather anchor points to something on the linked page. They aren't anything special, as far as I can tell.

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

Successfully merging this pull request may close these issues.

None yet

3 participants