Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
alinkedd committed Apr 1, 2024
1 parent ff81d1d commit 91e7702
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/content/reference/react-dom/hydrate.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,7 @@ export default function App() {
### Робота з вмістом, що різниться на стороні клієнта та сервера {/*handling-different-client-and-server-content*/}
<<<<<<< HEAD
Якщо вам потрібно відрендерити різний вміст на стороні сервера та клієнта, ви можете зробити двоетапний рендеринг. Компоненти, які рендерять щось інше на стороні клієнта, можуть використовувати [змінну стану](/reference/react/useState), наприклад `isClient`, яку ви можете змінити на `true` в [ефекті](/reference/react/useEffect):
=======
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):
>>>>>>> 97489434323b0c4cce78588cd0f48e3808e0eba4
<Sandpack>
Expand Down

0 comments on commit 91e7702

Please sign in to comment.