Skip to content

Commit ec2b134

Browse files
committed
Change to require React 18
React 16 *may* currently still work depending on your bundler. But it doesn’t work in Node, because the React team uses an incorrect export map to expose their JSX runtime in 16 (and 17).
1 parent c0dfbd6 commit ec2b134

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,18 @@
7878
],
7979
"dependencies": {
8080
"@types/hast": "^3.0.0",
81-
"@types/prop-types": "^15.0.0",
8281
"devlop": "^1.0.0",
8382
"hast-util-to-jsx-runtime": "^2.0.0",
8483
"mdast-util-to-hast": "^13.0.0",
85-
"prop-types": "^15.0.0",
8684
"remark-parse": "^11.0.0",
8785
"remark-rehype": "^11.0.0",
8886
"unified": "^11.0.0",
8987
"unist-util-visit": "^5.0.0",
9088
"vfile": "^6.0.0"
9189
},
9290
"peerDependencies": {
93-
"@types/react": ">=16",
94-
"react": ">=16"
91+
"@types/react": ">=18",
92+
"react": ">=18"
9593
},
9694
"devDependencies": {
9795
"@types/node": "^20.0.0",

0 commit comments

Comments
 (0)