diff options
author | 2022-03-31 10:01:05 -0700 | |
---|---|---|
committer | 2022-03-31 13:01:05 -0400 | |
commit | 3a4dc9e0a7a21493f36426814a6fbef4c95ed535 (patch) | |
tree | ead86daa36c9dc5fafa35c889c28246873de614a /examples/framework-multiple | |
parent | bdb9ba1c34adbfd1d0dfdd6abc3db808f77683bd (diff) | |
download | astro-3a4dc9e0a7a21493f36426814a6fbef4c95ed535.tar.gz astro-3a4dc9e0a7a21493f36426814a6fbef4c95ed535.tar.zst astro-3a4dc9e0a7a21493f36426814a6fbef4c95ed535.zip |
React 18 monorepo upgrade (#2948)
* First pass at supporting React 18 in @astrojs/react
* Try marking React 18’s `react-dom/client` as external
* Try a different approach to importing different React versions
* Allow resolving JSON modules
* Revert "Allow resolving JSON modules"
This reverts commit 5279b7249c52b20fd74fe48f9f1047c9b3a117dc.
* Try the separate client entrypoint approach from #2946
* Clean up diff
* Trying to see something
* Just keep swimming… 🐠
* update to support react 18
* update React to React 18 across the board
Co-authored-by: delucis <swithinbank@gmail.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Diffstat (limited to 'examples/framework-multiple')
-rw-r--r-- | examples/framework-multiple/package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 8f95c6935..4328d130e 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -21,8 +21,8 @@ "@webcomponents/template-shadowroot": "^0.1.0", "lit": "^2.2.1", "preact": "^10.6.6", - "react": "^17.0.2", - "react-dom": "^17.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "solid-js": "^1.3.13", "svelte": "^3.46.4", "vue": "^3.2.31" |