Say, there are two files a.js and b.js.
a.js:
b.js:
After change one of this file, with Hot Reloading enabled, it will run into an infinite situation and cause Maximum call stack size exceeded finally.
Even if I use a dynamic require in a function, such as what in b.js:
function f(){
require('./a')
}
Say, there are two files
a.jsandb.js.a.js:b.js:After change one of this file, with Hot Reloading enabled, it will run into an infinite situation and cause
Maximum call stack size exceededfinally.Even if I use a dynamic require in a function, such as what in
b.js: