Skip to content

Commit ea4bbb2

Browse files
authored
Update forwardRef.md
1 parent 4858eb4 commit ea4bbb2

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/content/reference/react/forwardRef.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,7 @@ const MyInput = forwardRef(function MyInput(props, ref) {
4242

4343
#### Перасцярогі {/*caveats*/}
4444

45-
<<<<<<< HEAD
4645
* У Строгім рэжыме, React будзе **выклікаць функцыю рэндэрынгу двойчы** каб [дапамагчы выявіць магчымыя пабочныя эфекты](/reference/react/useState#my-initializer-or-updater-function-runs-twice). Такія паводзіны адбываюцца толькі ў асяроддзі для распрацоўкі і ніяк не ўплываюць на працоўнае. Калі функцыя вашага кампанента чыстая (якой яна мае быць), гэта не павінна ўплываць на логіку кампанента. Вынік аднаго з выклікаў будзе праігнараваны.
47-
=======
48-
* In Strict Mode, React will **call your render function twice** in order to [help you find accidental impurities.](/reference/react/useState#my-initializer-or-updater-function-runs-twice) This is development-only behavior and does not affect production. If your render function is pure (as it should be), this should not affect the logic of your component. The result from one of the calls will be ignored.
49-
>>>>>>> 3563d95efe8719bdae8bbd258e6ab4134753348b
50-
5146

5247
---
5348

0 commit comments

Comments
 (0)