File tree Expand file tree Collapse file tree 14 files changed +600
-560
lines changed Expand file tree Collapse file tree 14 files changed +600
-560
lines changed Original file line number Diff line number Diff line change 18
18
"@repo/logger" : " workspace:*" ,
19
19
"body-parser" : " ^1.20.3" ,
20
20
"cors" : " ^2.8.5" ,
21
- "express" : " ^4.21.1 " ,
21
+ "express" : " ^4.21.2 " ,
22
22
"morgan" : " ^1.10.0"
23
23
},
24
24
"devDependencies" : {
Original file line number Diff line number Diff line change 12
12
},
13
13
"dependencies" : {
14
14
"@repo/shared" : " workspace:*" ,
15
- "next" : " ^15.0.3 " ,
15
+ "next" : " ^15.0.4 " ,
16
16
"nextjs-darkmode" : " ^1.0.4" ,
17
17
"nextjs-themes" : " ^4.0.3" ,
18
- "react" : " ^18.3.1 " ,
19
- "react-dom" : " ^18.3.1 " ,
18
+ "react" : " ^19.0.0 " ,
19
+ "react-dom" : " ^19.0.0 " ,
20
20
"react-mouse-trails" : " ^0.0.4" ,
21
21
"react18-loaders" : " workspace:*" ,
22
22
"webgl-generative-particles" : " ^0.0.1"
23
23
},
24
24
"devDependencies" : {
25
- "@next/eslint-plugin-next" : " ^15.0.3 " ,
25
+ "@next/eslint-plugin-next" : " ^15.0.4 " ,
26
26
"@repo/eslint-config" : " workspace:*" ,
27
27
"@repo/typescript-config" : " workspace:*" ,
28
28
"@types/node" : " ^22.10.1" ,
29
- "@types/react" : " ^18.3.13 " ,
30
- "@types/react-dom" : " ^18.3 .1" ,
29
+ "@types/react" : " ^19.0.1 " ,
30
+ "@types/react-dom" : " ^19.0 .1" ,
31
31
"typescript" : " ^5.7.2"
32
32
}
33
33
}
Original file line number Diff line number Diff line change @@ -7,11 +7,12 @@ import { Inter } from "next/font/google";
7
7
import Link from "next/link" ;
8
8
import { MouseTrail } from "react-mouse-trails" ;
9
9
import { Particles } from "webgl-generative-particles/react" ;
10
+ import { ReactNode } from "react" ;
10
11
11
12
const inter = Inter ( { subsets : [ "latin" ] } ) ;
12
13
13
14
/** Root layout. */
14
- export default function RootLayout ( { children } : { children : React . ReactNode } ) : JSX . Element {
15
+ export default function RootLayout ( { children } : { children : React . ReactNode } ) : ReactNode {
15
16
return (
16
17
< html lang = "en" suppressHydrationWarning >
17
18
< body className = { inter . className } >
Original file line number Diff line number Diff line change 1
1
import MyButton from "./button" ;
2
2
import { LandingPage } from "@repo/shared/dist/server" ;
3
3
import { Demo } from "@repo/shared" ;
4
+ import { ReactNode } from "react" ;
4
5
5
6
export const metadata = {
6
7
title : "React 18 Loaders" ,
7
8
} ;
8
9
9
10
/** next.js landing page */
10
- export default function Page ( ) : JSX . Element {
11
+ export default function Page ( ) : ReactNode {
11
12
return (
12
13
< LandingPage title = "Next.js Example" >
13
14
< Demo />
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import styles from "./styles.css";
5
5
import { Layout } from "@repo/shared/dist/server" ;
6
6
import { Core } from "nextjs-darkmode" ;
7
7
import { Header } from "@repo/shared" ;
8
+ import { ReactNode } from "react" ;
8
9
9
10
/** Page metadata */
10
11
export const meta : MetaFunction = ( ) => [
@@ -19,7 +20,7 @@ export const meta: MetaFunction = () => [
19
20
export const links : LinksFunction = ( ) => [ { rel : "stylesheet" , href : styles } ] ;
20
21
21
22
/** Remix app root */
22
- export default function App ( ) : JSX . Element {
23
+ export default function App ( ) : ReactNode {
23
24
return (
24
25
< html lang = "en" >
25
26
< head >
Original file line number Diff line number Diff line change 1
1
import { Demo } from "@repo/shared" ;
2
2
import { LandingPage } from "@repo/shared/dist/server" ;
3
+ import { ReactNode } from "react" ;
3
4
4
5
/** Remix App */
5
- export default function Index ( ) : JSX . Element {
6
+ export default function Index ( ) : ReactNode {
6
7
return (
7
8
< LandingPage title = "Remix Example" >
8
9
< Demo />
Original file line number Diff line number Diff line change 18
18
"@vercel/analytics" : " ^1.4.1" ,
19
19
"@vercel/remix-entry-server" : " ^0.1.1" ,
20
20
"nextjs-darkmode" : " ^1.0.4" ,
21
- "react" : " ^18.3.1 " ,
22
- "react-dom" : " ^18.3.1 " ,
21
+ "react" : " ^19.0.0 " ,
22
+ "react-dom" : " ^19.0.0 " ,
23
23
"react18-loaders" : " workspace:*" ,
24
24
"react18-themes" : " ^3.2.0"
25
25
},
26
26
"devDependencies" : {
27
27
"@remix-run/dev" : " ^2.15.0" ,
28
28
"@repo/eslint-config" : " workspace:*" ,
29
29
"@repo/typescript-config" : " workspace:*" ,
30
- "@types/react" : " ^18.3.13 " ,
31
- "@types/react-dom" : " ^18.3 .1" ,
30
+ "@types/react" : " ^19.0.1 " ,
31
+ "@types/react-dom" : " ^19.0 .1" ,
32
32
"typescript" : " ^5.7.2"
33
33
},
34
34
"engines" : {
Original file line number Diff line number Diff line change 13
13
"dependencies" : {
14
14
"@repo/shared" : " workspace:*" ,
15
15
"nextjs-darkmode" : " ^1.0.4" ,
16
- "react" : " ^18.3.1 " ,
17
- "react-dom" : " ^18.3.1 " ,
16
+ "react" : " ^19.0.0 " ,
17
+ "react-dom" : " ^19.0.0 " ,
18
18
"react-mouse-trails" : " ^0.0.4" ,
19
19
"react18-loaders" : " workspace:*" ,
20
20
"react18-themes" : " ^3.2.0"
21
21
},
22
22
"devDependencies" : {
23
23
"@repo/eslint-config" : " workspace:*" ,
24
24
"@repo/typescript-config" : " workspace:*" ,
25
- "@types/react" : " ^18.3.13 " ,
26
- "@types/react-dom" : " ^18.3 .1" ,
25
+ "@types/react" : " ^19.0.1 " ,
26
+ "@types/react-dom" : " ^19.0 .1" ,
27
27
"@vitejs/plugin-react" : " ^4.3.4" ,
28
28
"typescript" : " ^5.7.2" ,
29
29
"vite" : " ^6.0.3"
Original file line number Diff line number Diff line change 1
- import React , { useCallback } from "react" ;
1
+ import React , { ReactNode , useCallback } from "react" ;
2
2
import "./styles.css" ;
3
3
import { Bars1 } from "react18-loaders/dist/server" ;
4
4
import { LoaderContainer , useLoader } from "react18-loaders" ;
@@ -7,7 +7,7 @@ import { Core } from "nextjs-darkmode";
7
7
import { Demo , Header } from "@repo/shared" ;
8
8
9
9
/** Vite App */
10
- function App ( ) : JSX . Element {
10
+ function App ( ) : ReactNode {
11
11
const { setLoading } = useLoader ( ) ;
12
12
const handleClick = useCallback ( ( ) => setLoading ( true ) , [ ] ) ;
13
13
return (
Original file line number Diff line number Diff line change 26
26
"devDependencies" : {
27
27
"@repo/eslint-config" : " workspace:*" ,
28
28
"@repo/typescript-config" : " workspace:*" ,
29
- "@testing-library/react" : " ^16.0.1 " ,
29
+ "@testing-library/react" : " ^16.1.0 " ,
30
30
"@types/node" : " ^22.10.1" ,
31
- "@types/react" : " ^18.3.13 " ,
32
- "@types/react-dom" : " ^18.3 .1" ,
31
+ "@types/react" : " ^19.0.1 " ,
32
+ "@types/react-dom" : " ^19.0 .1" ,
33
33
"@vitejs/plugin-react" : " ^4.3.4" ,
34
34
"@vitest/coverage-v8" : " ^2.1.8" ,
35
35
"esbuild-plugin-rdi" : " ^0.0.0" ,
36
36
"esbuild-plugin-react18" : " 0.2.5" ,
37
37
"esbuild-plugin-react18-css" : " ^0.0.4" ,
38
38
"jsdom" : " ^25.0.1" ,
39
- "react" : " ^18.3.1 " ,
40
- "react-dom" : " ^18.3.1 " ,
39
+ "react" : " ^19.0.0 " ,
40
+ "react-dom" : " ^19.0.0 " ,
41
41
"tsup" : " ^8.3.5" ,
42
42
"typescript" : " ^5.7.2" ,
43
- "vite-tsconfig-paths" : " ^5.1.3 " ,
43
+ "vite-tsconfig-paths" : " ^5.1.4 " ,
44
44
"vitest" : " ^2.1.8"
45
45
},
46
46
"dependencies" : {
You can’t perform that action at this time.
0 commit comments