Additional changes to review3 matched termsMatched wording:removeddeprecatedno longerThese matches may be harmless in context. Expand to see the excerpts.
- The changelog contains “removed”; check what was removed.
UMD builds removed: To load React 19 with a script tag, we recommend using an ESM-based CDN such as esm.sh.
JSX namespace in TypeScript: The global
JSXnamespace is removed to improve interoperability with other libraries using JSX. Instead, the JSX namespace is available from the React package:
Below is a list of all new features, APIs, deprecations, and breaking changes. Read React 19 release post and React 19 upgrade guide for more information.
Note: To help make the upgrade to React 19 easier, we’ve published a react@18.3 release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19. We recommend upgrading to React 18.3.1 first to help identify any issues before upgrading to React 19.
New Features
React
- Actions:
startTransitioncan now accept async functions. Functions passed tostartTransitionare called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects likefetch()in the pending state, and provides support for error handling, and optimistic updates. useActionState: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a form prop to support progressive enhancement in forms.