-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] useEffect 中执行函数存在时序问题 #2108
Open
zivyangll opened this issue
Apr 6, 2021
· 5 comments
· May be fixed by raxjs/babel-plugin-minify-dead-code-elimination-while-loop-fixed#1
Open
[BUG] useEffect 中执行函数存在时序问题 #2108
zivyangll opened this issue
Apr 6, 2021
· 5 comments
· May be fixed by raxjs/babel-plugin-minify-dead-code-elimination-while-loop-fixed#1
Labels
Comments
直接原因是 babel-plugin-minify-dead-code-elimination-while-loop-fixed 这个 babel 插件引起的, 复现地址:Babel REPL babel issue 地址:babel/minify#1020 |
这个 babel 插件未来应该可以干掉了 |
这个 pr 提到 raxjs 下对应的仓库吧 |
raxjs/babel-plugin-minify-dead-code-elimination-while-loop-fixed#1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
下面代码会 return 后会执行 alert(1)。
The text was updated successfully, but these errors were encountered: