Started translation of 'Using the Effect Hook' section (WIP)#74
Merged
oleksii-polovyi merged 2 commits intoreactjs:74-fixfrom Jul 26, 2019
Merged
Started translation of 'Using the Effect Hook' section (WIP)#74oleksii-polovyi merged 2 commits intoreactjs:74-fixfrom
oleksii-polovyi merged 2 commits intoreactjs:74-fixfrom
Conversation
added 2 commits
March 6, 2019 01:30
|
Deploy preview for uk-reactjs ready! Built with commit 8f767fc |
liashchynskyi
suggested changes
Mar 16, 2019
| Цей фрагмент коду базується на [прикладі лічильника з попередньої сторінки](/docs/hooks-state.html), але ми додали новий функціонал до неї: ми змінюємо заголовок документа на користувацьке повідомлення, яке містить кількість натискань. | ||
|
|
||
| Data fetching, setting up a subscription, and manually changing the DOM in React components are all examples of side effects. Whether or not you're used to calling these operations "side effects" (or just "effects"), you've likely performed them in your components before. | ||
| Побічними еффектами в React є завантаження даних, оформлення підписки і зміна вручну DOM в React-компонентах. Неважливо, називаєте чи ви ці операції "побічними еффектами" (або просто "еффектами") чи ні, вам скоріше за всього доводилось використовувати їх в ваших компонентах раніше. |
Contributor
There was a problem hiding this comment.
еффектами - з одною Ф
| >Порада | ||
| > | ||
| >If you're familiar with React class lifecycle methods, you can think of `useEffect` Hook as `componentDidMount`, `componentDidUpdate`, and `componentWillUnmount` combined. | ||
| >Якщо ви знайомі з классовими методами життєвого циклу React, то уявляйте хук `useEffect`, як комбінацію `componentDidMount`, `componentDidUpdate` та `componentWillUnmount`. |
Contributor
There was a problem hiding this comment.
классовими - одна С
виправте всюди
92 tasks
oleksii-polovyi
requested changes
Mar 17, 2019
| >Якщо ви знайомі з классовими методами життєвого циклу React, то уявляйте хук `useEffect`, як комбінацію `componentDidMount`, `componentDidUpdate` та `componentWillUnmount`. | ||
|
|
||
| There are two common kinds of side effects in React components: those that don't require cleanup, and those that do. Let's look at this distinction in more detail. | ||
| Існують два види побічних еффектів в React-компонентах: ті, які вимагають і ті, які не вимагають очистки. Давайте розглянемо обидва приклади в деталях. |
Member
There was a problem hiding this comment.
вимагають => потребують?
Contributor
Author
|
@klymenkoo Sorry, I was busy last two weeks, I think that tommorow I will finish this PR and start other section. |
Member
Member
Contributor
|
ну шо там?)) є якийсь прогрес? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP