Skip to content

Commit b3cff17

Browse files
authored
Update forwardRef.md
1 parent 6a9e945 commit b3cff17

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/content/reference/react/forwardRef.md

-5
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-
>>>>>>> 6bfde58c109ec86fd6c5767421404cb679ffba9a
50-
5146

5247
---
5348

0 commit comments

Comments
 (0)