Fix hydrate root link (#4937)

* add loading indicator to sidebar links

* fix link typo
This commit is contained in:
Yousef M. El-Gohary
2022-08-25 20:33:31 +02:00
committed by GitHub
parent 605ad373c4
commit 46ebdc87b8

View File

@@ -3,7 +3,7 @@ title: hydrate
---
<Gotcha>
In React 18, `hydrate` was replaced by [`hydrateRoot`](/apis/react-dom/client/createRoot). Using `hydrate` in React 18 will warn that your app will behave as if its running React 17. Learn more [here](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis).
In React 18, `hydrate` was replaced by [`hydrateRoot`](/apis/react-dom/client/hydrateRoot). Using `hydrate` in React 18 will warn that your app will behave as if its running React 17. Learn more [here](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis).
</Gotcha>