You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/ssr.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ Once we've sent the HTML back to the browser, we'll need to "hydrate" the applic
143
143
144
144
```jsx filename=entry-client.jsx lines=[10-15]
145
145
import*asReactfrom"react";
146
-
importReactDOMfrom"react-dom/client";
146
+
import*asReactDOMfrom"react-dom/client";
147
147
import {
148
148
createBrowserRouter,
149
149
RouterProvider,
@@ -275,7 +275,7 @@ app.listen(3000);
275
275
And finally, you'll need a similar file to "hydrate" the app with your JavaScript bundle that includes the very same `App` component. Note the use of `BrowserRouter` instead of `StaticRouter`.
0 commit comments