Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>
Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 24, 2022
1 parent 4663d7c commit c0c56b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/blog/2022-11-24-release-0-20.md
Expand Up @@ -3,26 +3,26 @@ title: Releasing Yew 0.20
authors: [hamza] tags: [release]
---

The Yew team is happy announce a new, long overdue, version of Yew: v0.20.
The Yew team is happy to announce a new, long overdue, version of Yew: v0.20.
Yew is a framework for creating reliable and efficient web applications.

<!--truncate-->

## What's new

This release comes with new features aimed at improving the user experience, such as server-rendering and render-as-you-fetch approch for data-fetching.
This release comes with new features aimed at improving the user experience, such as server-rendering and render-as-you-fetch approach for data-fetching.

### SSR

Yew now fully supports rendering on the server. Rendering on the server means users will get a rendered HTML and will not have to wait to be able to see anything until the entire WebAssembly bundle is downloaded and initial render has completed. With SSR, the page will be instantly visible and interactable as soon as hydration finishes.
Yew now fully supports rendering on the server. Rendering on the server means users will get a rendered HTML and will not have to wait to be able to see anything until the entire WebAssembly bundle is downloaded and initial render has completed. With SSR, the page will be visible instantly, and interactable as soon as hydration finishes.

Learn more at [Server-side rendering](/docs/advanced-topics/server-side-rendering)

### Data fetching

With SSR comes new ways of data-fetching. The newly added [`use_prepared_state!`](https://api.yew.rs/next/yew/functional/macro.use_prepared_state.html) hook can be used to fetch data while rendering on the and seemlessly use it in the component.

For client-side fetching, Yew now supports render-as-you-fetch approch with [Suspense](/docs/concepts/suspense).
For client-side fetching, Yew now supports render-as-you-fetch approach with [Suspense](/docs/concepts/suspense).

## How to upgrade

Expand Down

0 comments on commit c0c56b2

Please sign in to comment.