You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a warning about using React 19 meta API instead of meta function. (#13586)
* Add a warning about using React 19 meta API instead of meta function.
* Add username to contributors.yml
* Update docs/start/framework/route-module.md
* Update docs/start/framework/route-module.md
---------
Co-authored-by: Tim Dorr <timdorr@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/start/framework/route-module.md
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -311,6 +311,30 @@ export default function Root() {
311
311
312
312
Route meta defines meta tags to be rendered in the `<head>` of the document.
313
313
314
+
<docs-warning>
315
+
316
+
Since React 19, [using the built-in `<meta>` element](https://react.dev/reference/react-dom/components/meta) is recommended over the use of the route module's `meta` export.
317
+
318
+
Here is an example of how to use it and the `<title>` element:
0 commit comments