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

精读《useRef 与 createRef 的区别》 #236

Closed
ascoders opened this issue Mar 1, 2020 · 0 comments
Closed

精读《useRef 与 createRef 的区别》 #236

ascoders opened this issue Mar 1, 2020 · 0 comments

Comments

@ascoders
Copy link
Owner

ascoders commented Mar 1, 2020

useRef 是常用的 API,但还有一个 createRef 的 API,你知道他们的区别吗?通过 React.useRef and React.createRef: The Difference 这篇文章,你可以了解到何时该使用它们。


精读《useRef 与 createRef 的区别》

@ascoders ascoders closed this as completed Mar 2, 2020
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

1 participant