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

FOUC with updated cra #6455

Closed
thegreatsantini opened this issue Feb 18, 2019 · 1 comment
Closed

FOUC with updated cra #6455

thegreatsantini opened this issue Feb 18, 2019 · 1 comment

Comments

@thegreatsantini
Copy link

thegreatsantini commented Feb 18, 2019

Is this a bug report?

Yes, I think it is a bug.

Did you try recovering your dependencies?

yes. I deleted node_modules and package-lock.json. Then ran npm i

I created the react app by running
npm create react-app react-statusbar
npm version 6.8.0
node version 11.10.0

Which terms did you search for in User Guide?

No info on styles in trouble shooting

Environment

screen shot 2019-02-18 at 2 33 37 pm

Steps to Reproduce

  1. I created the react app by using npm create react-app react-statusbar
  2. npm start to compile without any changes to code.
  3. started building the few components that I was going to use and made minor css changes.

Expected Behavior

I expect the app to keep its styles when it recompile or refreshes.

Actual Behavior

When the app first complied, recompiled or refreshed I would get a Flash of styled components.
wasn't able to get a screen shot of the unstyled app

Reproducible Demo

here is the link to the app.
https://github.com/thegreatsantini/Algorithms/tree/master/Zulily/react-statusbar

  1. clone repo
  2. cd to the react app
  3. npm i
  4. npm start and watch the browser
@bugzpodder
Copy link

Thanks for the repo. This is tracked in #6399.

@lock lock bot locked and limited conversation to collaborators Feb 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants