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.

10.0.0-beta.0 -> 10.0.0-beta.1, react-hot-loader no longer renders the exported component

See original GitHub issue

reproduction repository: https://github.com/reaysawa/starter-preact-scss

  1. clone https://github.com/reaysawa/starter-preact-scss
  2. yarn && yarn dev should work with hot-reloading ✔️
  3. yarn add preact@next to upgrade from 10.0.0-beta.0 to 10.0.0-beta.1
  4. yarn && yarn dev again, but this time it doesn’t render 🔴

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
sventschuicommented, May 13, 2019

The __proto__ approach is also flawed in safari & chrome: JSON.parse('{"__proto__":{"hello":"proto"}}').__proto__ will print {hello: "proto"} in these browsers. Didn’t test others

1reaction
JoviDeCroockcommented, May 13, 2019

Proto null can still be injected on browsers where proto is deprecated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10.0.0-beta.1, react-hot-loader no longer renders the ... - GitHub
10.0.0-beta.0 -> 10.0.0-beta.1, react-hot-loader no longer renders the exported component #1620.
Read more >
gaearon/react-hot-loader - Gitter
I switched to "react-hot-loader": "^4.0.0-beta.13” ... ie - or change /views/Base to export default hot(module)(Base), or change the loader to RHL aware one....
Read more >
react-hot-loader/README.md - UNPKG
The CDN for react-hot-loader. ... Mark your root component as _hot-exported_: ... 66, There is only one condition for it - a non...
Read more >
React components not updating from Redux state after Hot ...
I am using react-hot-loader 3.0.0-beta.6 to hot reload react components. Reloading itself works well - i see the updated component immediately.
Read more >
Getting Started · React Hot Loader - Dan gaearon
React Hot Loader is a plugin that allows React components to be live reloaded without the ... Option 1: Webpack Dev Server CLI...
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