question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strange initial redraw for routes with System.import in Chrome

See original GitHub issue

To reproduce it:

  1. start prod server yarn run web:prod
  2. go to some route with imported component with System.import
  3. reload this Chrome tab
  4. You should see page renders 2 times

It looks like browser draws server generated DOM and then, when component is loaded with ajax, react clears root container then draws new DOM. Maybe this is issue of react-router, but it’s good to know if someone else can produce this.

http://recordit.co/2ur8zsuxnh

Was trying ff and safari and didn’t saw that flickering.

Chrome: Version 55.0.2883.75 beta (64-bit) MacOS: 10.11.6

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
foxhound87commented, Dec 6, 2016

Fixed, Thank you for your support.

0reactions
infernalmastercommented, Dec 6, 2016

It’s I should thank you, you did awesome job 👏

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReactJS with React Router - strange routing behaviour on ...
The problem is that Chrome try to send a get request, and appends a ? to your current URL, because you don't have...
Read more >
Here's How I Solved a Weird Bug Using Tried and True ...
At first, this looks like a CSS issue. Some styles might be applied on a hover event that breaks the layout or the...
Read more >
Import bookmarks & settings - Google Chrome Help
To import bookmarks from most browsers, like Firefox and Safari: On your computer, open Chrome. At the top right, click More More ....
Read more >
dynamic import() chunk name · Issue #1949 - GitHub
Using import() with a module seems to just give it an id as a name. It would be nice to either be able...
Read more >
Using the Chrome Debugger Tools, part 2: The Network Tab
Welcome back to my multi-part series on the Chrome Debugger tools. Last time, I examined the first tab in the Chrome debugger tools,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found