Skip to content

Commit 60d449b

Browse files
build(deps): bump the dependencies group in /docs with 2 updates (#252)
Bumps the dependencies group in /docs with 2 updates: [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/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>&lt;!-- --&gt;</code>) as a DOM container. <a href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li> <li>Added support for <code>&lt;script&gt;</code> and <code>\&lt;template&gt;</code> tags to be nested within <code>&lt;select&gt;</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>&lt;!-- --&gt;</code>) as a DOM container. <a href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li> <li>Added support for <code>&lt;script&gt;</code> and <code>\&lt;template&gt;</code> tags to be nested within <code>&lt;select&gt;</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 `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>&lt;!-- --&gt;</code>) as a DOM container. <a href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li> <li>Added support for <code>&lt;script&gt;</code> and <code>\&lt;template&gt;</code> tags to be nested within <code>&lt;select&gt;</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>&lt;!-- --&gt;</code>) as a DOM container. <a href="https://redirect.github.com/facebook/react/pull/32250">#32250</a></li> <li>Added support for <code>&lt;script&gt;</code> and <code>\&lt;template&gt;</code> tags to be nested within <code>&lt;select&gt;</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 /> 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 6beea86 commit 60d449b

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

docs/.yarn/install-state.gz

50 Bytes
Binary file not shown.

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"@mdx-js/react": "^3.1.0",
2222
"clsx": "^2.0.0",
2323
"prism-react-renderer": "^2.4.1",
24-
"react": "^19.0.0",
25-
"react-dom": "^19.0.0"
24+
"react": "^19.1.0",
25+
"react-dom": "^19.1.0"
2626
},
2727
"devDependencies": {
2828
"@docusaurus/module-type-aliases": "^3.7.0",

docs/yarn.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7609,8 +7609,8 @@ __metadata:
76097609
"@mdx-js/react": "npm:^3.1.0"
76107610
clsx: "npm:^2.0.0"
76117611
prism-react-renderer: "npm:^2.4.1"
7612-
react: "npm:^19.0.0"
7613-
react-dom: "npm:^19.0.0"
7612+
react: "npm:^19.1.0"
7613+
react-dom: "npm:^19.1.0"
76147614
typescript: "npm:~5.8.2"
76157615
languageName: unknown
76167616
linkType: soft
@@ -12943,14 +12943,14 @@ __metadata:
1294312943
languageName: node
1294412944
linkType: hard
1294512945

12946-
"react-dom@npm:^19.0.0":
12947-
version: 19.0.0
12948-
resolution: "react-dom@npm:19.0.0"
12946+
"react-dom@npm:^19.1.0":
12947+
version: 19.1.0
12948+
resolution: "react-dom@npm:19.1.0"
1294912949
dependencies:
12950-
scheduler: "npm:^0.25.0"
12950+
scheduler: "npm:^0.26.0"
1295112951
peerDependencies:
12952-
react: ^19.0.0
12953-
checksum: 10c0/a36ce7ab507b237ae2759c984cdaad4af4096d8199fb65b3815c16825e5cfeb7293da790a3fc2184b52bfba7ba3ff31c058c01947aff6fd1a3701632aabaa6a9
12952+
react: ^19.1.0
12953+
checksum: 10c0/3e26e89bb6c67c9a6aa86cb888c7a7f8258f2e347a6d2a15299c17eb16e04c19194e3452bc3255bd34000a61e45e2cb51e46292392340432f133e5a5d2dfb5fc
1295412954
languageName: node
1295512955
linkType: hard
1295612956

@@ -13071,10 +13071,10 @@ __metadata:
1307113071
languageName: node
1307213072
linkType: hard
1307313073

13074-
"react@npm:^19.0.0":
13075-
version: 19.0.0
13076-
resolution: "react@npm:19.0.0"
13077-
checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471
13074+
"react@npm:^19.1.0":
13075+
version: 19.1.0
13076+
resolution: "react@npm:19.1.0"
13077+
checksum: 10c0/530fb9a62237d54137a13d2cfb67a7db6a2156faed43eecc423f4713d9b20c6f2728b026b45e28fcd72e8eadb9e9ed4b089e99f5e295d2f0ad3134251bdd3698
1307813078
languageName: node
1307913079
linkType: hard
1308013080

@@ -13575,10 +13575,10 @@ __metadata:
1357513575
languageName: node
1357613576
linkType: hard
1357713577

13578-
"scheduler@npm:^0.25.0":
13579-
version: 0.25.0
13580-
resolution: "scheduler@npm:0.25.0"
13581-
checksum: 10c0/a4bb1da406b613ce72c1299db43759526058fdcc413999c3c3e0db8956df7633acf395cb20eb2303b6a65d658d66b6585d344460abaee8080b4aa931f10eaafe
13578+
"scheduler@npm:^0.26.0":
13579+
version: 0.26.0
13580+
resolution: "scheduler@npm:0.26.0"
13581+
checksum: 10c0/5b8d5bfddaae3513410eda54f2268e98a376a429931921a81b5c3a2873aab7ca4d775a8caac5498f8cbc7d0daeab947cf923dbd8e215d61671f9f4e392d34356
1358213582
languageName: node
1358313583
linkType: hard
1358413584

0 commit comments

Comments
 (0)