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

改用 findDOMNode 优化 #1754

Merged
merged 5 commits into from
Dec 29, 2018
Merged

改用 findDOMNode 优化 #1754

merged 5 commits into from
Dec 29, 2018

Conversation

leeenx
Copy link
Contributor

@leeenx leeenx commented Dec 29, 2018

改用 findDOMNode 做优化,同时可以兼容 React 环境。原来的方法是使用了 Nerv 的底层属性实现,后来发现原来 Nerv 是一个全局变量,所以直接改用正式的 API:findDOMNode 解决了

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

Successfully merging this pull request may close these issues.

2 participants