Skip to content

Conversation

@gcor
Copy link
Collaborator

@gcor gcor commented Mar 23, 2019

No description provided.

@gcor gcor mentioned this pull request Mar 23, 2019
2 tasks
@ntishkevich ntishkevich added the needs review A pull request ready to be reviewed label Mar 25, 2019
@another-guy
Copy link
Collaborator

Посмотрю в течении нескольких часов и этот PR, и #285. Спасибо, @gcor, у меня совсем не было времени последние несколько дней.

@gcor
Copy link
Collaborator Author

gcor commented Mar 26, 2019

@another-guy это и есть #285, я решил его просто сделать через пул-реквест отдельный. Не знаю на сколько это верно.

Обратите внимание, что `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` - это как «коробка», которая может содержать изменяемое значение в своем `текущем` свойстве.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

переводится ли слово .current в этом контексте?

@gcor
Copy link
Collaborator Author

gcor commented Mar 30, 2019

@wwatkins09, спасибо большое за ревью. Мало было времени на перевод, получился сыроват.

@gcor
Copy link
Collaborator Author

gcor commented Mar 30, 2019

@another-guy, @ntishkevich поревьюите? А то там уже синки следующие ждут своего часа.

Copy link

@wwatkins09 wwatkins09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо @gcor за такую огромную работу!

@gcor gcor mentioned this pull request Apr 1, 2019
6 tasks
@gcor gcor merged commit a22c4b5 into reactjs:sync-1f2dbb7a Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review A pull request ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants