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

Styled-components refresh entire page #47

Closed
mnemanja opened this issue Mar 12, 2020 · 5 comments
Closed

Styled-components refresh entire page #47

mnemanja opened this issue Mar 12, 2020 · 5 comments

Comments

@mnemanja
Copy link

Hi there,
Note:
I've created this issue in the customize-cra-react-refresh repo first and got referenced here.

There's a problem with fast-refresh and styled-components. It's making a full page reload. It works, however, when I make changes in a plain React component.

Reference issue:
esetnik/customize-cra-react-refresh#7 (comment)

@Lukavyi
Copy link

Lukavyi commented Mar 18, 2020

Have the same problem

@gaearon
Copy link

gaearon commented Mar 18, 2020

Complete reproducing project pls.

@mnemanja
Copy link
Author

I stand corrected, the misbehaving is gone.
Everything runs smoothly now.

@Lukavyi, if you are still experiencing the problem please provide Dan with a reproducible project.

@Lukavyi
Copy link

Lukavyi commented Mar 24, 2020

Same for me, it just randomly started working fine again

@mnemanja
Copy link
Author

If anyone else experiences the same behavior and finds this issue, provide here a reproduction and I'll reopen it.

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

3 participants