Add initial canary changelog (#27504)
Matt Carroll committed
Oct 20, 2023 at 19:11 UTC
b9244f79bab133e0e6d2e992b5be4722b4ac7536
1 file changed
+13
CHANGELOG-canary.md
new
+13
@@ -0,0 +1,13 @@
1
+## October 5, 2023 (18.3.0-canary-546178f91-20231005)
2
+
3
+### React
4
+
5
+- Added support for async functions to be passed to `startTransition`.
6
+- `useTransition` now triggers the nearest error boundary instead of a global error.
7
+- Added `useOptimistic`, a new Hook for handling optimistic UI updates. It optimistically updates the UI before receiving confirmation from a server or external source.
8
+
9
+### React DOM
10
+
11
+- Added support for passing async functions to the `action` prop on `<form>`. When the function passed to `action` is marked with [`'use server'`](https://react.dev/reference/react/use-server), the form is [progressively enhanced](https://developer.mozilla.org/en-US/docs/Glossary/Progressive_Enhancement).
12
+- Added `useFormStatus`, a new Hook for checking the submission state of a form.
13
+- Added `useFormState`, a new Hook for updating state upon form submission. When the function passed to `useFormState` is marked with [`'use server'`](https://react.dev/reference/react/use-server), the update is [progressively enhanced](https://developer.mozilla.org/en-US/docs/Glossary/Progressive_Enhancement).