A strange issue with reproduction...
frederikhors opened this issue · 1 comments
frederikhors commented
I created a REPL for a strange issue.
Steps to reproduce
-
Open the REPL
-
Open the browser console
-
Go on the "About" page using the link
-
No message in console
-
Now comment the line:
result = id;
-
And comment out the line:
// setTimeout(() => (result = id), 0);
-
Go on Home page
-
Go on About page
-
Now in the console you can see the message: "handleInput"
Why is this happening?
Is setTimeout
really needed?
frederikhors commented
Maybe the issue #682 is more accurate.