Skip to content

Commit

Permalink
Fix formatting in client side article
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarvz committed Dec 17, 2024
1 parent 3f097e8 commit 0796e42
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions www/src/content/blog/2024-12-06-client-side-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ browser!
We'll achieve this with client-side hydration. The app gets rendered
server-side first, and then the client-side script takes over. The [React
docs](https://react.dev/reference/react-dom/client/hydrateRoot#hydrating-server-rendered-html)
describe it well: > [It] will “attach” your components’ logic to the initial
generated HTML from the > server. Hydration turns the initial HTML snapshot
from the server into a fully > interactive app that runs in the browser.
describe it well:
> [It] will “attach” your components’ logic to the initial generated HTML from
> the server. Hydration turns the initial HTML snapshot from the server into a
> fully interactive app that runs in the browser.
</Aside>
In this guide we'll go over how to build an Hono app with client-side logic,
Expand Down Expand Up @@ -198,7 +199,10 @@ browser environment:
{
"compilerOptions": {
//...
"lib": ["ESNext", "DOM"]
"lib": [
"ESNext",
"DOM"
]
// ...
}
}
Expand Down

0 comments on commit 0796e42

Please sign in to comment.