From edd453cc478891c4e9136df63ca3599c3521ce76 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 26 Jan 2023 14:32:01 -0600 Subject: [PATCH 1/2] Upgrade Virtuoso to v4.0.6 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e48b340ea..b2b963e5d 100644 --- a/package.json +++ b/package.json @@ -167,7 +167,7 @@ "react-swipeable-views": "^0.14.0", "react-textarea-autosize": "^8.3.4", "react-toggle": "^4.1.2", - "react-virtuoso": "^4.0.0", + "react-virtuoso": "^4.0.6", "redux": "^4.1.1", "redux-immutable": "^4.0.0", "redux-thunk": "^2.2.0", diff --git a/yarn.lock b/yarn.lock index 916d4ccda..3d3b628d9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9704,10 +9704,10 @@ react-transition-group@^2.2.1: prop-types "^15.6.2" react-lifecycles-compat "^3.0.4" -react-virtuoso@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/react-virtuoso/-/react-virtuoso-4.0.3.tgz#0dc8b10978095852d985b064157639b9fb9d9b1e" - integrity sha512-tyqt8FBWxO+smve/kUgJbhCI2MEOvH2hHgFYPKWBMA2cJmV+cHIDDh1BL/6w4pg/dcCdlHCNVwi6aiztPxWttw== +react-virtuoso@^4.0.6: + version "4.0.6" + resolved "https://registry.yarnpkg.com/react-virtuoso/-/react-virtuoso-4.0.6.tgz#5ee8a72bf0b57d31063cef6343b26e6cde5529e3" + integrity sha512-TJ4fyTbre0uTpXE0AXaMG2BOX9PgKfDC7wLhnSmDvBU0WoEUrIAcNJACLJvqyWZMDAuEv3v+b4OyK6jiSkFL9Q== react@^18.0.0: version "18.2.0" From 1abf289d1b589006dd3066c1174a3a03c84d7a31 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 11 Jan 2023 19:40:17 -0600 Subject: [PATCH 2/2] Fix React 17 jsx-runtime module resolution bug --- webpack/shared.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack/shared.ts b/webpack/shared.ts index 6bfe14be7..2a8fdcb50 100644 --- a/webpack/shared.ts +++ b/webpack/shared.ts @@ -157,6 +157,9 @@ const configuration: Configuration = { fallback: { path: require.resolve('path-browserify'), util: require.resolve('util'), + // https://github.com/facebook/react/issues/20235#issuecomment-1061708958 + 'react/jsx-runtime': 'react/jsx-runtime.js', + 'react/jsx-dev-runtime': 'react/jsx-dev-runtime.js', }, },