React-hot-loader: Uncaught RangeError: Maximum call stack size exceeded

Created on 28 Mar 2018  ·  2Comments  ·  Source: gaearon/react-hot-loader

Description

After update component,chrome update,and console err ‘Uncaught RangeError: Maximum call stack size exceeded’

Expected behavior

not error

Actual behavior

console error

Environment

React Hot Loader version:4.0.0

Run these commands in the project folder and fill in their results:

  1. node -v:9.9.0
  2. npm -v:5.6.0
  3. webpack: 4.2.0

Then, specify:

  1. Operating system:ubuntu16.04
  2. Browser and version:chrome 65.0.3325.181(正式版本) (64 位)

Reproducible Demo

https://github.com/YanYuanFE/react-webpack

Most helpful comment

Nope. This is your problem.
Just remove HotModuleReplacementPlugin from webpack.config. "--hot" option for webpack-dev-server is doing the same.

All 2 comments

Look like webpack is broken - the source code contains two blocks with parentHotUpdateCallback

  • one on line 5, added by webpack itself
  • the second on 6xx line, added by hot-module-replacement plugin

Nope. This is your problem.
Just remove HotModuleReplacementPlugin from webpack.config. "--hot" option for webpack-dev-server is doing the same.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jljorgenson18 picture jljorgenson18  ·  3Comments

mtscout6 picture mtscout6  ·  3Comments

mattkrick picture mattkrick  ·  3Comments

theKashey picture theKashey  ·  3Comments

theKashey picture theKashey  ·  4Comments