Skip to content

Commit

Permalink
fix: mistakes in last 4.9 article
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed May 23, 2024
1 parent 3644cfd commit 15fb638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/blog/astro-490.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const container = await AstroContainer.create();
console.log(await container.renderToString(Component));
```

The posibilities that this API adds are endless, but this is just a first step. Our main focus at this stage is to make it easier to render Astro components inside test frameworks powered by Vite, such as Vitest.
The possibilities that this API adds are endless, but this is just a first step. Our main focus at this stage is to make it easier to render Astro components inside test frameworks powered by Vite, such as Vitest.

```ts
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
Expand Down Expand Up @@ -84,7 +84,7 @@ To learn more about the Container API and how to use it, check out the [Containe

## React 19 support

The first React 19 release candidate is out, and Astro came prepared. We added full support for React 19 to the React adapter with some added goodies for Astro Actions.
The first React 19 release candidate is out, and Astro came prepared. We added full support for React 19 to the React integration with some added goodies for Astro Actions.

To use React 19 in your Astro project, [follow the React 19 beta installation guide.](https://react.dev/blog/2024/04/25/react-19-upgrade-guide#installing) This unlocks React's new form actions feature, which lets you call Actions from a `<form>` and track "pending" and "result" values in your components.

Expand Down

0 comments on commit 15fb638

Please sign in to comment.