Skip to content
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

原理解析的一些误点? #104

Open
yangjie111 opened this issue Jan 11, 2023 · 1 comment
Open

原理解析的一些误点? #104

yangjie111 opened this issue Jan 11, 2023 · 1 comment

Comments

@yangjie111
Copy link

image
这里说ReactDOM(Blocking)Root对象上暴露有render和unmount方法,但是我在源码上看了下,在Legacy模式下是Blocking实例是没有这两个方法的,只有Blocking和Concurrent模式下才会有这两个方法,不知道我说得对不对。

@7kms
Copy link
Owner

7kms commented Jan 30, 2023

是的哈,v18之后就不存在这些问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants