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

Page-specific CSS isn't fast enough #71

Closed
davidtheclark opened this issue Jul 13, 2017 · 1 comment
Closed

Page-specific CSS isn't fast enough #71

davidtheclark opened this issue Jul 13, 2017 · 1 comment
Assignees

Comments

@davidtheclark
Copy link
Contributor

If you check out the react-component-pages demo and navigate from Home to Blog, you might see the blog post list bounce really quickly from the left to its indented position. I think this is happening because react-helmet takes a second to update the document <head> and include the page-specific CSS that is needed.

This is similar to one of the problems I ran into with #70: react-helmet's slight delay in adding elements to the <head> means it cannot be relied on for adding time-sensitive things like scripts and CSS.

🤔

@davidtheclark
Copy link
Contributor Author

Seems react-helmet has a fix in the works: nfl/react-helmet#297

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

No branches or pull requests

1 participant