-
Notifications
You must be signed in to change notification settings - Fork 38
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
How Critical Css with exact path="/" of the Reactjs #29
Comments
This might just be an issue with critical itself. This plugin just makes critical callable as part of a webpack build process, and not much to do with critical itself. That said, I'm not familiar with |
Hmm, I see. This could be an issue with how critical process code specific to Single Page Applications, where chunks are generated async? I think it's something I've run into I think, and haven't had time to look into it further on the critical side. (maybe related to an other open issue #30 ) Maybe there are some issues in the critical issue tracker about how to best use critical with async / SPA frameworks like React? |
Just to follow up, a user with a similar report found that running Can you please confirm as well? Might not be a plugin issue. |
I have a case use two component with
// It is not work
Default config:
i tried use include:['.class_name', 'some_class'] of critical. But, i have many class and id. You can tell me edit that.
The text was updated successfully, but these errors were encountered: