Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 1251077

Browse files
committed
Upgrade react 18.1.0
1 parent 99c7201 commit 1251077

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

commands/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { isCanary, VERSION } from "../version.ts";
1212

1313
const templates = ["react", "preact", "vue", "svelte", "lit", "vanilla", "api"];
1414
const versions = {
15-
react: "18.0.0",
15+
react: "18.1.0",
1616
vue: "3.2.31",
1717
};
1818

deno.dom.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"./types.d.ts"
1111
],
1212
"jsx": "react-jsx",
13-
"jsxImportSource": "https://esm.sh/react@18.0.0"
13+
"jsxImportSource": "https://esm.sh/react@18.1.0"
1414
},
1515
"fmt": {
1616
"files": {

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"jsx": "react-jsx",
4-
"jsxImportSource": "https://esm.sh/react@18.0.0"
4+
"jsxImportSource": "https://esm.sh/react@18.1.0"
55
},
66
"tasks": {
77
"test": "deno test -A --unstable --location=http://localhost --import-map=import_map.json",

import_map.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"aleph/": "./",
66
"aleph/server": "./server/mod.ts",
77
"aleph/react": "./framework/react/mod.ts",
8-
"react": "https://esm.sh/react@18.0.0",
9-
"react-dom/": "https://esm.sh/react-dom@18.0.0/",
8+
"react": "https://esm.sh/react@18.1.0",
9+
"react-dom/": "https://esm.sh/react-dom@18.1.0/",
1010
"vue": "https://esm.sh/[email protected]",
1111
"vue/server-renderer": "https://esm.sh/@vue/[email protected]",
1212
"*.vue": "./loaders/vue.ts!loader"

0 commit comments

Comments
 (0)