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.

Hydration of app in 5.13.0

See original GitHub issue

🐛 Bug Report

I just updated to the latest version of loadable-components in my project. On server app renders exactly as expected. When hydration is complete it looks like the app rendered two times. Issues happen only with ReactDOM.hydrate, if I just ReactDOM.render the app everything works as expected. On 5.12.0 hydrate works perfectly.

To Reproduce

I have tried to create a small repo but everything seems to work fine in it

Expected behavior

Same HTML on the server and on the client.

Link to repl or repo (highly encouraged)

See “To Reproduce”.

Run npx envinfo --system --binaries --npmPackages @loadable/component,@loadable/server,@loadable/webpack-plugin,@loadable/babel-plugin --markdown --clipboard

Paste the results here:

## System:
 - OS: macOS 10.15.5
 - CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
 - Memory: 4.53 GB / 16.00 GB
 - Shell: 5.7.1 - /bin/zsh
## Binaries:
 - Node: 13.12.0 - /usr/local/bin/node
 - Yarn: 1.22.4 - /usr/local/bin/yarn
 - npm: 6.14.4 - /usr/local/bin/npm
 - Watchman: 4.9.0 - /usr/local/bin/watchman
## npmPackages:
 - @loadable/babel-plugin: 5.13.0 => 5.13.0
 - @loadable/component: 5.13.0 => 5.13.0
 - @loadable/server: 5.13.0 => 5.13.0
 - @loadable/webpack-plugin: 5.13.0 => 5.13.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:20

github_iconTop GitHub Comments

3reactions
theKasheycommented, Jul 2, 2020

client+server 5.13.1 should fix the problem.

2reactions
yashok111commented, Jul 2, 2020

The issue is resolved. Thank you @theKashey for fast hotfix!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Recover from bad distro upgrade to 22.04 LTS - Ask Ubuntu
I was running Ubuntu 20.04 LTS on my laptop and decided to upgrade to 22.04. The update went well until it came the...
Read more >
ProtonDB | Game Details for FATAL FRAME / PROJECT ZERO
FATAL FRAME / PROJECT ZERO: Maiden of Black Water ... Certified Source of Hydration (7 reports). 21 hours overall. 1 year ago ......
Read more >
linux-intel-5.13 5.13.0-1017.19 source package in Ubuntu
0-1017-<flavour>. version 5.13. 0. This package provides kernel tools useful for VM hosts.
Read more >
waterdrop® Hydration App - Apps on Google Play
Your dry spell ends here! How much water should you drink a day? Everybody has different needs. We help you establish your personal...
Read more >
USN-5219-1: Linux kernel vulnerability | Ubuntu security notices
Ubuntu 21.10 · linux-image-5.13.0-1008-kvm - 5.13.0-1008.8 · linux-image-virtual - 5.13.0.25.36 · linux-image-5.13.0-25-generic - 5.13. · linux- ...
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