Skip to content

Styled-components refresh entire page #47

Closed

Description

@mnemanja

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)

Activity

  1. Lukavyi commented on Mar 18, 2020

    @Lukavyi

    Have the same problem

  2. gaearon commented on Mar 18, 2020

    @gaearon

    Complete reproducing project pls.

  3. mnemanja commented on Mar 23, 2020

    @mnemanja
    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.

  4. Lukavyi commented on Mar 24, 2020

    @Lukavyi

    Same for me, it just randomly started working fine again

  5. mnemanja commented on Mar 24, 2020

    @mnemanja
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions