-
Notifications
You must be signed in to change notification settings - Fork 385
[fix] Sync with reactjs.org @ 1f2dbb7a #286
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
Conversation
@another-guy это и есть #285, я решил его просто сделать через пул-реквест отдельный. Не знаю на сколько это верно. |
content/docs/hooks-reference.md
Outdated
Обратите внимание, что `useRef()` полезен не только для атрибута `ref`. Он также [удобен для хранения любого изменяемого значения](/docs/hooks-faq.html#is-there-something-like-instance-variables) примерно так же, как вы используете поля экземпляров в классах. | ||
======= | ||
Essentially, `useRef` is like a "box" that can hold a mutable value in its `.current` property. | ||
По сути, `useRef` - это как «коробка», которая может содержать изменяемое значение в своем `текущем` свойстве. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
переводится ли слово .current
в этом контексте?
@wwatkins09, спасибо большое за ревью. Мало было времени на перевод, получился сыроват. |
@another-guy, @ntishkevich поревьюите? А то там уже синки следующие ждут своего часа. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Спасибо @gcor за такую огромную работу!
No description provided.