We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
多次Modal.confirm等方法,关闭后实例并未销毁 检查源码发现只卸载了dom,没有销毁实例
It's better to post up the error stack for us to trace this issue.
What needs to be done to address this issue? Ideally, provide a pull request with a fix.
zarm 2.9.3 react/react-native 17.0.2 system win10 browser chrome
The text was updated successfully, but these errors were encountered:
使用unmountComponentAtNode方法销毁实例.
组件不销毁除了占用内存外,还导致组件内useEffect的清理回调无法执行. 测试用例可以通过这点来验证
Sorry, something went wrong.
ab9005b
@JeromeLin confirm的问题修复了,但类似的其他场景没有修复,比如loading,toast等
搜索ReactDOM.render可以发下如下地方使用.这个api应该是两两对应的
fix: will not unmount react dom when visible is hidden for loading an…
defc4eb
…d toast. fix #710
@xty1992a 感谢反馈,已修复
edison-hm
No branches or pull requests
Description
多次Modal.confirm等方法,关闭后实例并未销毁


检查源码发现只卸载了dom,没有销毁实例
Steps to Reproduce
Error Trace (if possible)
It's better to post up the error stack for us to trace this issue.
Solution
What needs to be done to address this issue? Ideally, provide a pull request with a fix.
Environment
zarm 2.9.3
react/react-native 17.0.2
system win10
browser chrome
The text was updated successfully, but these errors were encountered: