Closed
Description
Say, there are two files a.js
and b.js
.
a.js
:
require('./b');
b.js
:
require('./a')
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')
}