Skip to content

Commit c13debc

Browse files
committed
chore(deps): update react to v19
1 parent 02da995 commit c13debc

File tree

16 files changed

+76
-89
lines changed

16 files changed

+76
-89
lines changed

docusaurus.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const config: Config = {
4040
},
4141

4242
// Experimental features in preparation for Docusaurus v4 upgrade
43+
// rspack is disabled currently due to bundling performance issues
4344
future: {
4445
v4: true,
4546
experimental_faster: {

package-lock.json

Lines changed: 58 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"clsx": "^2.1.1",
3131
"prism-react-renderer": "^2.4.1",
3232
"raw-loader": "^4.0.2",
33-
"react": "^18.3.1",
34-
"react-dom": "^18.3.1",
33+
"react": "^19.2.1",
34+
"react-dom": "^19.2.1",
3535
"rehype-katex": "^7.0.1",
3636
"remark-math": "^6.0.0",
3737
"swagger-ui-react": "^5.30.3"
@@ -41,8 +41,8 @@
4141
"@docusaurus/module-type-aliases": "^3.9.1",
4242
"@docusaurus/tsconfig": "^3.9.1",
4343
"@docusaurus/types": "^3.9.1",
44-
"@types/react": "^18.3.23",
45-
"@types/react-dom": "^18.3.7",
44+
"@types/react": "^19.2.7",
45+
"@types/react-dom": "^19.2.3",
4646
"@typescript-eslint/eslint-plugin": "^8.48.1",
4747
"docusaurus-plugin-llms": "^0.2.0",
4848
"eslint-config-prettier": "^10.1.8",

src/components/HomepageFeatures/featuresSection.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React, { type JSX } from "react";
12
import classes from "./featuresSection.module.css";
23

34
import DataConnector from "@site/static/img/DATACONNECTOR_new.svg";

src/components/remix.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from "react";
1+
import React, { type JSX } from "react";
22
import Link from "@docusaurus/Link";
33

44
export default function Remix({ children, fileName }): JSX.Element {

src/theme/ColorModeToggle/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from "react";
1+
import React, { type JSX } from "react";
22
import clsx from "clsx";
33
import useIsBrowser from "@docusaurus/useIsBrowser";
44
import { translate } from "@docusaurus/Translate";

src/theme/DocCard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { type ReactNode } from "react";
1+
import { type ReactNode, type JSX } from "react";
22
import clsx from "clsx";
33
import Link from "@docusaurus/Link";
44
import {

src/theme/Footer/Copyright/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from "react";
1+
import { type JSX } from "react";
22
import type { Props } from "@theme/Footer/Copyright";
33

44
export default function FooterCopyright({ copyright }: Props): JSX.Element {

src/theme/Footer/Layout/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from "react";
1+
import { type JSX } from "react";
22
import clsx from "clsx";
33
import type { Props } from "@theme/Footer/Layout";
44

src/theme/Footer/LinkItem/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from "react";
1+
import { type JSX } from "react";
22

33
import Link from "@docusaurus/Link";
44
import useBaseUrl from "@docusaurus/useBaseUrl";

0 commit comments

Comments
 (0)