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.

ReactHot triggers error when update any component

See original GitHub issue

I’ve made a minimal sample code to illustrate the problem, whenever I change any code, I got the following error on browser’s console:

Uncaught RangeError: Maximum call stack size exceeded  bundled.js:713
hotAddUpdateChunk  bundled.js:5
webpackHotUpdateCallback  bundled.js:6
webpackHotUpdateCallback  bundled.js:6
webpackHotUpdateCallback  bundled.js:6
...

Where bundled.js:6 is:

/******/    function hotAddUpdateChunk(chunkId, moreModules) {

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
philihpcommented, Oct 23, 2015

Found this issue because I, too, had --hot and in my plugins new HotModuleReplacementPlugin().

2reactions
herebebeastiescommented, Mar 6, 2015

As a commenter in webpack-dev-server/issues/87 says, you’re probably tripping over this because you have both --hot on the CLI and also a new HotModuleReplacementPlugin() being added in your webpack.config.js.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hot reloading breaks when encountering Typescript error #8667
Hot reloading seems to stop working when a Typescript compilation error is encountered. Any subsequent code changes would not trigger hot ...
Read more >
Cannot update a component from inside the function body of a ...
For me I was dispatching to my redux store in a React Hook. I had to dispatch in a useEffect to properly sync...
Read more >
React Query Error Handling | TkDodo's blog
Here, we're handling error situations by checking for the isError boolean flag (which is derived from the status enum) given to us by...
Read more >
toast() API
toast() API. Call it to create a toast from anywhere, even outside React. Make sure you add the <Toaster/> component to your app...
Read more >
react-hot-loader - npm
Tweak React components in real time ⚛️⚡️ ... (that's the goal) React-Hot-Loader would not update any object, including component state .
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