Skip to content

Commit 91e7702

Browse files
committed
Resolve merge conflicts
1 parent ff81d1d commit 91e7702

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/content/reference/react-dom/hydrate.md

-4
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,7 @@ export default function App() {
152152
153153
### Робота з вмістом, що різниться на стороні клієнта та сервера {/*handling-different-client-and-server-content*/}
154154
155-
<<<<<<< HEAD
156155
Якщо вам потрібно відрендерити різний вміст на стороні сервера та клієнта, ви можете зробити двоетапний рендеринг. Компоненти, які рендерять щось інше на стороні клієнта, можуть використовувати [змінну стану](/reference/react/useState), наприклад `isClient`, яку ви можете змінити на `true` в [ефекті](/reference/react/useEffect):
157-
=======
158-
If you intentionally need to render something different on the server and the client, you can do a two-pass rendering. Components that render something different on the client can read a [state variable](/reference/react/useState) like `isClient`, which you can set to `true` in an [Effect](/reference/react/useEffect):
159-
>>>>>>> 97489434323b0c4cce78588cd0f48e3808e0eba4
160156
161157
<Sandpack>
162158

0 commit comments

Comments
 (0)