Commit d4490b6
authored
Bump the react-dependencies group with 4 updates (#1115)
Bumps the react-dependencies group with 4 updates:
[react](https://github.com/facebook/react/tree/HEAD/packages/react),
[@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react),
[react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom)
and
[@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom).
Updates `react` from 19.0.0 to 19.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/facebook/react/releases">react's
releases</a>.</em></p>
<blockquote>
<h2>19.1.0 (March 28, 2025)</h2>
<h3>Owner Stack</h3>
<p>An Owner Stack is a string representing the components that are
directly responsible for rendering a particular component. You can log
Owner Stacks when debugging or use Owner Stacks to enhance error
overlays or other development tools. Owner Stacks are only available in
development builds. Component Stacks in production are unchanged.</p>
<ul>
<li>An Owner Stack is a development-only stack trace that helps identify
which components are responsible for rendering a particular component.
An Owner Stack is distinct from a Component Stacks, which shows the
hierarchy of components leading to an error.</li>
<li>The <a
href="https://react.dev/reference/react/captureOwnerStack">captureOwnerStack
API</a> is only available in development mode and returns a Owner Stack,
if available. The API can be used to enhance error overlays or log
component relationships when debugging. <a
href="https://redirect.github.com/facebook/react/pull/29923">#29923</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32353">#32353</a>,
<a
href="https://redirect.github.com/facebook/react/pull/30306">#30306</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32529">#32529</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a></li>
</ul>
<h3>React</h3>
<ul>
<li>Enhanced support for Suspense boundaries to be used anywhere,
including the client, server, and during hydration. <a
href="https://redirect.github.com/facebook/react/pull/32069">#32069</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32163">#32163</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32224">#32224</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32252">#32252</a></li>
<li>Reduced unnecessary client rendering through improved hydration
scheduling <a
href="https://redirect.github.com/facebook/react/pull/31751">#31751</a></li>
<li>Increased priority of client rendered Suspense boundaries <a
href="https://redirect.github.com/facebook/react/pull/31776">#31776</a></li>
<li>Fixed frozen fallback states by rendering unfinished Suspense
boundaries on the client. <a
href="https://redirect.github.com/facebook/react/pull/31620">#31620</a></li>
<li>Reduced garbage collection pressure by improving Suspense boundary
retries. <a
href="https://redirect.github.com/facebook/react/pull/31667">#31667</a></li>
<li>Fixed erroneous “Waiting for Paint” log when the passive effect
phase was not delayed <a
href="https://redirect.github.com/facebook/react/pull/31526">#31526</a></li>
<li>Fixed a regression causing key warnings for flattened positional
children in development mode. <a
href="https://redirect.github.com/facebook/react/pull/32117">#32117</a></li>
<li>Updated <code>useId</code> to use valid CSS selectors, changing
format from <code>:r123:</code> to <code>«r123»</code>. <a
href="https://redirect.github.com/facebook/react/pull/32001">#32001</a></li>
<li>Added a dev-only warning for null/undefined created in useEffect,
useInsertionEffect, and useLayoutEffect. <a
href="https://redirect.github.com/facebook/react/pull/32355">#32355</a></li>
<li>Fixed a bug where dev-only methods were exported in production
builds. React.act is no longer available in production builds. <a
href="https://redirect.github.com/facebook/react/pull/32200">#32200</a></li>
<li>Improved consistency across prod and dev to improve compatibility
with Google Closure Complier and bindings <a
href="https://redirect.github.com/facebook/react/pull/31808">#31808</a></li>
<li>Improve passive effect scheduling for consistent task yielding. <a
href="https://redirect.github.com/facebook/react/pull/31785">#31785</a></li>
<li>Fixed asserts in React Native when
passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent
rendering. <a
href="https://redirect.github.com/facebook/react/pull/32528">#32528</a></li>
<li>Fixed component name resolution for Portal <a
href="https://redirect.github.com/facebook/react/pull/32640">#32640</a></li>
<li>Added support for beforetoggle and toggle events on the dialog
element. <a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32479">#32479</a>
<a
href="https://redirect.github.com/facebook/react/pull/32479">#32479</a></li>
</ul>
<h3>React DOM</h3>
<ul>
<li>Fixed double warning when the <code>href</code> attribute is an
empty string <a
href="https://redirect.github.com/facebook/react/pull/31783">#31783</a></li>
<li>Fixed an edge case where <code>getHoistableRoot()</code> didn’t work
properly when the container was a Document <a
href="https://redirect.github.com/facebook/react/pull/32321">#32321</a></li>
<li>Removed support for using HTML comments (e.g. <code><!--
--></code>) as a DOM container. <a
href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li>
<li>Added support for <code><script></code> and
<code>\<template></code> tags to be nested within
<code><select></code> tags. <a
href="https://redirect.github.com/facebook/react/pull/31837">#31837</a></li>
<li>Fixed responsive images to be preloaded as HTML instead of headers
<a
href="https://redirect.github.com/facebook/react/pull/32445">#32445</a></li>
</ul>
<h3>use-sync-external-store</h3>
<ul>
<li>Added <code>exports</code> field to <code>package.json</code> for
<code>use-sync-external-store</code> to support various entrypoints. <a
href="https://redirect.github.com/facebook/react/pull/25231">#25231</a></li>
</ul>
<h3>React Server Components</h3>
<ul>
<li>Added <code>unstable_prerender</code>, a new experimental API for
prerendering React Server Components on the server <a
href="https://redirect.github.com/facebook/react/pull/31724">#31724</a></li>
<li>Fixed an issue where streams would hang when receiving new chunks
after a global error <a
href="https://redirect.github.com/facebook/react/pull/31840">#31840</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31851">#31851</a></li>
<li>Fixed an issue where pending chunks were counted twice. <a
href="https://redirect.github.com/facebook/react/pull/31833">#31833</a></li>
<li>Added support for streaming in edge environments <a
href="https://redirect.github.com/facebook/react/pull/31852">#31852</a></li>
<li>Added support for sending custom error names from a server so that
they are available in the client for console replaying. <a
href="https://redirect.github.com/facebook/react/pull/32116">#32116</a></li>
<li>Updated the server component wire format to remove IDs for hints and
console.log because they have no return value <a
href="https://redirect.github.com/facebook/react/pull/31671">#31671</a></li>
<li>Exposed <code>registerServerReference</code> in client builds to
handle server references in different environments. <a
href="https://redirect.github.com/facebook/react/pull/32534">#32534</a></li>
<li>Added react-server-dom-parcel package which integrates Server
Components with the <a href="https://parceljs.org/">Parcel bundler</a>
<a
href="https://redirect.github.com/facebook/react/pull/31725">#31725</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32132">#32132</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31799">#31799</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32294">#32294</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31741">#31741</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react's
changelog</a>.</em></p>
<blockquote>
<h2>19.1.0 (March 28, 2025)</h2>
<h3>Owner Stack</h3>
<p>An Owner Stack is a string representing the components that are
directly responsible for rendering a particular component. You can log
Owner Stacks when debugging or use Owner Stacks to enhance error
overlays or other development tools. Owner Stacks are only available in
development builds. Component Stacks in production are unchanged.</p>
<ul>
<li>An Owner Stack is a development-only stack trace that helps identify
which components are responsible for rendering a particular component.
An Owner Stack is distinct from a Component Stacks, which shows the
hierarchy of components leading to an error.</li>
<li>The <a
href="https://react.dev/reference/react/captureOwnerStack">captureOwnerStack
API</a> is only available in development mode and returns a Owner Stack,
if available. The API can be used to enhance error overlays or log
component relationships when debugging. <a
href="https://redirect.github.com/facebook/react/pull/29923">#29923</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32353">#32353</a>,
<a
href="https://redirect.github.com/facebook/react/pull/30306">#30306</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32529">#32529</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a></li>
</ul>
<h3>React</h3>
<ul>
<li>Enhanced support for Suspense boundaries to be used anywhere,
including the client, server, and during hydration. <a
href="https://redirect.github.com/facebook/react/pull/32069">#32069</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32163">#32163</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32224">#32224</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32252">#32252</a></li>
<li>Reduced unnecessary client rendering through improved hydration
scheduling <a
href="https://redirect.github.com/facebook/react/pull/31751">#31751</a></li>
<li>Increased priority of client rendered Suspense boundaries <a
href="https://redirect.github.com/facebook/react/pull/31776">#31776</a></li>
<li>Fixed frozen fallback states by rendering unfinished Suspense
boundaries on the client. <a
href="https://redirect.github.com/facebook/react/pull/31620">#31620</a></li>
<li>Reduced garbage collection pressure by improving Suspense boundary
retries. <a
href="https://redirect.github.com/facebook/react/pull/31667">#31667</a></li>
<li>Fixed erroneous “Waiting for Paint” log when the passive effect
phase was not delayed <a
href="https://redirect.github.com/facebook/react/pull/31526">#31526</a></li>
<li>Fixed a regression causing key warnings for flattened positional
children in development mode. <a
href="https://redirect.github.com/facebook/react/pull/32117">#32117</a></li>
<li>Updated <code>useId</code> to use valid CSS selectors, changing
format from <code>:r123:</code> to <code>«r123»</code>. <a
href="https://redirect.github.com/facebook/react/pull/32001">#32001</a></li>
<li>Added a dev-only warning for null/undefined created in useEffect,
useInsertionEffect, and useLayoutEffect. <a
href="https://redirect.github.com/facebook/react/pull/32355">#32355</a></li>
<li>Fixed a bug where dev-only methods were exported in production
builds. React.act is no longer available in production builds. <a
href="https://redirect.github.com/facebook/react/pull/32200">#32200</a></li>
<li>Improved consistency across prod and dev to improve compatibility
with Google Closure Complier and bindings <a
href="https://redirect.github.com/facebook/react/pull/31808">#31808</a></li>
<li>Improve passive effect scheduling for consistent task yielding. <a
href="https://redirect.github.com/facebook/react/pull/31785">#31785</a></li>
<li>Fixed asserts in React Native when
passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent
rendering. <a
href="https://redirect.github.com/facebook/react/pull/32528">#32528</a></li>
<li>Fixed component name resolution for Portal <a
href="https://redirect.github.com/facebook/react/pull/32640">#32640</a></li>
<li>Added support for beforetoggle and toggle events on the dialog
element. <a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32479">#32479</a>
<a
href="https://redirect.github.com/facebook/react/pull/32479">#32479</a></li>
</ul>
<h3>React DOM</h3>
<ul>
<li>Fixed double warning when the <code>href</code> attribute is an
empty string <a
href="https://redirect.github.com/facebook/react/pull/31783">#31783</a></li>
<li>Fixed an edge case where <code>getHoistableRoot()</code> didn’t work
properly when the container was a Document <a
href="https://redirect.github.com/facebook/react/pull/32321">#32321</a></li>
<li>Removed support for using HTML comments (e.g. <code><!--
--></code>) as a DOM container. <a
href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li>
<li>Added support for <code><script></code> and
<code>\<template></code> tags to be nested within
<code><select></code> tags. <a
href="https://redirect.github.com/facebook/react/pull/31837">#31837</a></li>
<li>Fixed responsive images to be preloaded as HTML instead of headers
<a
href="https://redirect.github.com/facebook/react/pull/32445">#32445</a></li>
</ul>
<h3>use-sync-external-store</h3>
<ul>
<li>Added <code>exports</code> field to <code>package.json</code> for
<code>use-sync-external-store</code> to support various entrypoints. <a
href="https://redirect.github.com/facebook/react/pull/25231">#25231</a></li>
</ul>
<h3>React Server Components</h3>
<ul>
<li>Added <code>unstable_prerender</code>, a new experimental API for
prerendering React Server Components on the server <a
href="https://redirect.github.com/facebook/react/pull/31724">#31724</a></li>
<li>Fixed an issue where streams would hang when receiving new chunks
after a global error <a
href="https://redirect.github.com/facebook/react/pull/31840">#31840</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31851">#31851</a></li>
<li>Fixed an issue where pending chunks were counted twice. <a
href="https://redirect.github.com/facebook/react/pull/31833">#31833</a></li>
<li>Added support for streaming in edge environments <a
href="https://redirect.github.com/facebook/react/pull/31852">#31852</a></li>
<li>Added support for sending custom error names from a server so that
they are available in the client for console replaying. <a
href="https://redirect.github.com/facebook/react/pull/32116">#32116</a></li>
<li>Updated the server component wire format to remove IDs for hints and
console.log because they have no return value <a
href="https://redirect.github.com/facebook/react/pull/31671">#31671</a></li>
<li>Exposed <code>registerServerReference</code> in client builds to
handle server references in different environments. <a
href="https://redirect.github.com/facebook/react/pull/32534">#32534</a></li>
<li>Added react-server-dom-parcel package which integrates Server
Components with the <a href="https://parceljs.org/">Parcel bundler</a>
<a
href="https://redirect.github.com/facebook/react/pull/31725">#31725</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32132">#32132</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31799">#31799</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32294">#32294</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31741">#31741</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/facebook/react/commit/4a9df08157f001c01b078d259748512211233dcf"><code>4a9df08</code></a>
Stop creating Owner Stacks if many have been created recently (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32529">#32529</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/b630219b1377f3117036b1c6118676c16fdb21b7"><code>b630219</code></a>
[refactor] move isValidElementType to react-is (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32518">#32518</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/1a191701fe5000098d23328b2ea9d70457fea1f8"><code>1a19170</code></a>
[refactor] Add element type for Activity (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32499">#32499</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/6aa8254bb7353fe3096289edc669cf168e9fd190"><code>6aa8254</code></a>
Add ref to Fragment (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32465">#32465</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/e0fe3479671555e01531dbc3d2fd85d5bd4c5a56"><code>e0fe347</code></a>
[flags] remove enableOwnerStacks (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32426">#32426</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/70f1d766e8ae7ca3701193abb8c8a9f2fdbdaa9d"><code>70f1d76</code></a>
[flow] Eliminate usage of global React types in ReactNativeTypes.js (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32330">#32330</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/0d9834caeb3b334eaa1be45f136499f51303e7d3"><code>0d9834c</code></a>
build: add support to the rollup build for building typescript packages
(<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32393">#32393</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/a53da6abe1593483098df2baf927fe07d80153a5"><code>a53da6a</code></a>
Add useSwipeTransition Hook Behind Experimental Flag (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32373">#32373</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/32b0cad8f74da3d6e8b07f4ffbad26dfe8d8a71a"><code>32b0cad</code></a>
Enable owner stacks in Canary builds (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32053">#32053</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/ed8b68dd178af17a2dd36c8678f81f8b454559a9"><code>ed8b68d</code></a>
Stop exporting dev-only methods in OSS production builds (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/32200">#32200</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/facebook/react/commits/v19.1.0/packages/react">compare
view</a></li>
</ul>
</details>
<br />
Updates `@types/react` from 19.0.12 to 19.1.0
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react">compare
view</a></li>
</ul>
</details>
<br />
Updates `react-dom` from 19.0.0 to 19.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/facebook/react/releases">react-dom's
releases</a>.</em></p>
<blockquote>
<h2>19.1.0 (March 28, 2025)</h2>
<h3>Owner Stack</h3>
<p>An Owner Stack is a string representing the components that are
directly responsible for rendering a particular component. You can log
Owner Stacks when debugging or use Owner Stacks to enhance error
overlays or other development tools. Owner Stacks are only available in
development builds. Component Stacks in production are unchanged.</p>
<ul>
<li>An Owner Stack is a development-only stack trace that helps identify
which components are responsible for rendering a particular component.
An Owner Stack is distinct from a Component Stacks, which shows the
hierarchy of components leading to an error.</li>
<li>The <a
href="https://react.dev/reference/react/captureOwnerStack">captureOwnerStack
API</a> is only available in development mode and returns a Owner Stack,
if available. The API can be used to enhance error overlays or log
component relationships when debugging. <a
href="https://redirect.github.com/facebook/react/pull/29923">#29923</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32353">#32353</a>,
<a
href="https://redirect.github.com/facebook/react/pull/30306">#30306</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32529">#32529</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a></li>
</ul>
<h3>React</h3>
<ul>
<li>Enhanced support for Suspense boundaries to be used anywhere,
including the client, server, and during hydration. <a
href="https://redirect.github.com/facebook/react/pull/32069">#32069</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32163">#32163</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32224">#32224</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32252">#32252</a></li>
<li>Reduced unnecessary client rendering through improved hydration
scheduling <a
href="https://redirect.github.com/facebook/react/pull/31751">#31751</a></li>
<li>Increased priority of client rendered Suspense boundaries <a
href="https://redirect.github.com/facebook/react/pull/31776">#31776</a></li>
<li>Fixed frozen fallback states by rendering unfinished Suspense
boundaries on the client. <a
href="https://redirect.github.com/facebook/react/pull/31620">#31620</a></li>
<li>Reduced garbage collection pressure by improving Suspense boundary
retries. <a
href="https://redirect.github.com/facebook/react/pull/31667">#31667</a></li>
<li>Fixed erroneous “Waiting for Paint” log when the passive effect
phase was not delayed <a
href="https://redirect.github.com/facebook/react/pull/31526">#31526</a></li>
<li>Fixed a regression causing key warnings for flattened positional
children in development mode. <a
href="https://redirect.github.com/facebook/react/pull/32117">#32117</a></li>
<li>Updated <code>useId</code> to use valid CSS selectors, changing
format from <code>:r123:</code> to <code>«r123»</code>. <a
href="https://redirect.github.com/facebook/react/pull/32001">#32001</a></li>
<li>Added a dev-only warning for null/undefined created in useEffect,
useInsertionEffect, and useLayoutEffect. <a
href="https://redirect.github.com/facebook/react/pull/32355">#32355</a></li>
<li>Fixed a bug where dev-only methods were exported in production
builds. React.act is no longer available in production builds. <a
href="https://redirect.github.com/facebook/react/pull/32200">#32200</a></li>
<li>Improved consistency across prod and dev to improve compatibility
with Google Closure Complier and bindings <a
href="https://redirect.github.com/facebook/react/pull/31808">#31808</a></li>
<li>Improve passive effect scheduling for consistent task yielding. <a
href="https://redirect.github.com/facebook/react/pull/31785">#31785</a></li>
<li>Fixed asserts in React Native when
passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent
rendering. <a
href="https://redirect.github.com/facebook/react/pull/32528">#32528</a></li>
<li>Fixed component name resolution for Portal <a
href="https://redirect.github.com/facebook/react/pull/32640">#32640</a></li>
<li>Added support for beforetoggle and toggle events on the dialog
element. <a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32479">#32479</a>
<a
href="https://redirect.github.com/facebook/react/pull/32479">#32479</a></li>
</ul>
<h3>React DOM</h3>
<ul>
<li>Fixed double warning when the <code>href</code> attribute is an
empty string <a
href="https://redirect.github.com/facebook/react/pull/31783">#31783</a></li>
<li>Fixed an edge case where <code>getHoistableRoot()</code> didn’t work
properly when the container was a Document <a
href="https://redirect.github.com/facebook/react/pull/32321">#32321</a></li>
<li>Removed support for using HTML comments (e.g. <code><!--
--></code>) as a DOM container. <a
href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li>
<li>Added support for <code><script></code> and
<code>\<template></code> tags to be nested within
<code><select></code> tags. <a
href="https://redirect.github.com/facebook/react/pull/31837">#31837</a></li>
<li>Fixed responsive images to be preloaded as HTML instead of headers
<a
href="https://redirect.github.com/facebook/react/pull/32445">#32445</a></li>
</ul>
<h3>use-sync-external-store</h3>
<ul>
<li>Added <code>exports</code> field to <code>package.json</code> for
<code>use-sync-external-store</code> to support various entrypoints. <a
href="https://redirect.github.com/facebook/react/pull/25231">#25231</a></li>
</ul>
<h3>React Server Components</h3>
<ul>
<li>Added <code>unstable_prerender</code>, a new experimental API for
prerendering React Server Components on the server <a
href="https://redirect.github.com/facebook/react/pull/31724">#31724</a></li>
<li>Fixed an issue where streams would hang when receiving new chunks
after a global error <a
href="https://redirect.github.com/facebook/react/pull/31840">#31840</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31851">#31851</a></li>
<li>Fixed an issue where pending chunks were counted twice. <a
href="https://redirect.github.com/facebook/react/pull/31833">#31833</a></li>
<li>Added support for streaming in edge environments <a
href="https://redirect.github.com/facebook/react/pull/31852">#31852</a></li>
<li>Added support for sending custom error names from a server so that
they are available in the client for console replaying. <a
href="https://redirect.github.com/facebook/react/pull/32116">#32116</a></li>
<li>Updated the server component wire format to remove IDs for hints and
console.log because they have no return value <a
href="https://redirect.github.com/facebook/react/pull/31671">#31671</a></li>
<li>Exposed <code>registerServerReference</code> in client builds to
handle server references in different environments. <a
href="https://redirect.github.com/facebook/react/pull/32534">#32534</a></li>
<li>Added react-server-dom-parcel package which integrates Server
Components with the <a href="https://parceljs.org/">Parcel bundler</a>
<a
href="https://redirect.github.com/facebook/react/pull/31725">#31725</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32132">#32132</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31799">#31799</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32294">#32294</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31741">#31741</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react-dom's
changelog</a>.</em></p>
<blockquote>
<h2>19.1.0 (March 28, 2025)</h2>
<h3>Owner Stack</h3>
<p>An Owner Stack is a string representing the components that are
directly responsible for rendering a particular component. You can log
Owner Stacks when debugging or use Owner Stacks to enhance error
overlays or other development tools. Owner Stacks are only available in
development builds. Component Stacks in production are unchanged.</p>
<ul>
<li>An Owner Stack is a development-only stack trace that helps identify
which components are responsible for rendering a particular component.
An Owner Stack is distinct from a Component Stacks, which shows the
hierarchy of components leading to an error.</li>
<li>The <a
href="https://react.dev/reference/react/captureOwnerStack">captureOwnerStack
API</a> is only available in development mode and returns a Owner Stack,
if available. The API can be used to enhance error overlays or log
component relationships when debugging. <a
href="https://redirect.github.com/facebook/react/pull/29923">#29923</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32353">#32353</a>,
<a
href="https://redirect.github.com/facebook/react/pull/30306">#30306</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32529">#32529</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32538">#32538</a></li>
</ul>
<h3>React</h3>
<ul>
<li>Enhanced support for Suspense boundaries to be used anywhere,
including the client, server, and during hydration. <a
href="https://redirect.github.com/facebook/react/pull/32069">#32069</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32163">#32163</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32224">#32224</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32252">#32252</a></li>
<li>Reduced unnecessary client rendering through improved hydration
scheduling <a
href="https://redirect.github.com/facebook/react/pull/31751">#31751</a></li>
<li>Increased priority of client rendered Suspense boundaries <a
href="https://redirect.github.com/facebook/react/pull/31776">#31776</a></li>
<li>Fixed frozen fallback states by rendering unfinished Suspense
boundaries on the client. <a
href="https://redirect.github.com/facebook/react/pull/31620">#31620</a></li>
<li>Reduced garbage collection pressure by improving Suspense boundary
retries. <a
href="https://redirect.github.com/facebook/react/pull/31667">#31667</a></li>
<li>Fixed erroneous “Waiting for Paint” log when the passive effect
phase was not delayed <a
href="https://redirect.github.com/facebook/react/pull/31526">#31526</a></li>
<li>Fixed a regression causing key warnings for flattened positional
children in development mode. <a
href="https://redirect.github.com/facebook/react/pull/32117">#32117</a></li>
<li>Updated <code>useId</code> to use valid CSS selectors, changing
format from <code>:r123:</code> to <code>«r123»</code>. <a
href="https://redirect.github.com/facebook/react/pull/32001">#32001</a></li>
<li>Added a dev-only warning for null/undefined created in useEffect,
useInsertionEffect, and useLayoutEffect. <a
href="https://redirect.github.com/facebook/react/pull/32355">#32355</a></li>
<li>Fixed a bug where dev-only methods were exported in production
builds. React.act is no longer available in production builds. <a
href="https://redirect.github.com/facebook/react/pull/32200">#32200</a></li>
<li>Improved consistency across prod and dev to improve compatibility
with Google Closure Complier and bindings <a
href="https://redirect.github.com/facebook/react/pull/31808">#31808</a></li>
<li>Improve passive effect scheduling for consistent task yielding. <a
href="https://redirect.github.com/facebook/react/pull/31785">#31785</a></li>
<li>Fixed asserts in React Native when
passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent
rendering. <a
href="https://redirect.github.com/facebook/react/pull/32528">#32528</a></li>
<li>Fixed component name resolution for Portal <a
href="https://redirect.github.com/facebook/react/pull/32640">#32640</a></li>
<li>Added support for beforetoggle and toggle events on the dialog
element. <a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32479">#32479</a>
<a
href="https://redirect.github.com/facebook/react/pull/32479">#32479</a></li>
</ul>
<h3>React DOM</h3>
<ul>
<li>Fixed double warning when the <code>href</code> attribute is an
empty string <a
href="https://redirect.github.com/facebook/react/pull/31783">#31783</a></li>
<li>Fixed an edge case where <code>getHoistableRoot()</code> didn’t work
properly when the container was a Document <a
href="https://redirect.github.com/facebook/react/pull/32321">#32321</a></li>
<li>Removed support for using HTML comments (e.g. <code><!--
--></code>) as a DOM container. <a
href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li>
<li>Added support for <code><script></code> and
<code>\<template></code> tags to be nested within
<code><select></code> tags. <a
href="https://redirect.github.com/facebook/react/pull/31837">#31837</a></li>
<li>Fixed responsive images to be preloaded as HTML instead of headers
<a
href="https://redirect.github.com/facebook/react/pull/32445">#32445</a></li>
</ul>
<h3>use-sync-external-store</h3>
<ul>
<li>Added <code>exports</code> field to <code>package.json</code> for
<code>use-sync-external-store</code> to support various entrypoints. <a
href="https://redirect.github.com/facebook/react/pull/25231">#25231</a></li>
</ul>
<h3>React Server Components</h3>
<ul>
<li>Added <code>unstable_prerender</code>, a new experimental API for
prerendering React Server Components on the server <a
href="https://redirect.github.com/facebook/react/pull/31724">#31724</a></li>
<li>Fixed an issue where streams would hang when receiving new chunks
after a global error <a
href="https://redirect.github.com/facebook/react/pull/31840">#31840</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31851">#31851</a></li>
<li>Fixed an issue where pending chunks were counted twice. <a
href="https://redirect.github.com/facebook/react/pull/31833">#31833</a></li>
<li>Added support for streaming in edge environments <a
href="https://redirect.github.com/facebook/react/pull/31852">#31852</a></li>
<li>Added support for sending custom error names from a server so that
they are available in the client for console replaying. <a
href="https://redirect.github.com/facebook/react/pull/32116">#32116</a></li>
<li>Updated the server component wire format to remove IDs for hints and
console.log because they have no return value <a
href="https://redirect.github.com/facebook/react/pull/31671">#31671</a></li>
<li>Exposed <code>registerServerReference</code> in client builds to
handle server references in different environments. <a
href="https://redirect.github.com/facebook/react/pull/32534">#32534</a></li>
<li>Added react-server-dom-parcel package which integrates Server
Components with the <a href="https://parceljs.org/">Parcel bundler</a>
<a
href="https://redirect.github.com/facebook/react/pull/31725">#31725</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32132">#32132</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31799">#31799</a>,
<a
href="https://redirect.github.com/facebook/react/pull/32294">#32294</a>,
<a
href="https://redirect.github.com/facebook/react/pull/31741">#31741</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/facebook/react/commit/7943da1e81bb8730db78db99af5f967bdf213a75"><code>7943da1</code></a>
Set accurate value for alwaysThrottleRetries on www (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32684">#32684</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/476f53879e80d4ee976ed036a0e8986126fa3117"><code>476f538</code></a>
Add getClientRects to fragment instances (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32660">#32660</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/c69a5fc53a5135136668ca878f99b634d2374837"><code>c69a5fc</code></a>
Add blur() and focusLast() to fragment instances (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32654">#32654</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/cd28a946d57695a025581c0ff851bde08ea6ca27"><code>cd28a94</code></a>
Add observer methods to fragment instances (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32619">#32619</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/6aa8254bb7353fe3096289edc669cf168e9fd190"><code>6aa8254</code></a>
Add ref to Fragment (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32465">#32465</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/029e8bd618af23fbdd9efdac565ad81f7d4640d8"><code>029e8bd</code></a>
Add Owner Stack to attribute hydration mismatches (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32538">#32538</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/aac177c48439ab294f72e8b5a85059daa3f8a5ee"><code>aac177c</code></a>
Support beforetoggle/toggle events for dialog (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32479">#32479</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/e0fe3479671555e01531dbc3d2fd85d5bd4c5a56"><code>e0fe347</code></a>
[flags] remove enableOwnerStacks (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32426">#32426</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/2e4db3344f030fe622152ecc231a7c99a81a9c9d"><code>2e4db33</code></a>
Use valid CSS selectors in useId format (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32001">#32001</a>)</li>
<li><a
href="https://github.com/facebook/react/commit/9b042f9d593f965d8c7a42f8f5fce322f403381b"><code>9b042f9</code></a>
[Fizz] Responsive images should not be preloaded with link headers (<a
href="https://github.com/facebook/react/tree/HEAD/packages/react-dom/issues/32445">#32445</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/facebook/react/commits/v19.1.0/packages/react-dom">compare
view</a></li>
</ul>
</details>
<br />
Updates `@types/react-dom` from 19.0.4 to 19.1.1
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent f89b599 commit d4490b6
2 files changed
+1755
-3598
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments