SharedArrayBuffer will require cross-origin isolation as of M91, around May 2021
Update the react
and react-dom
versions from 17.0.1
to ==> 17.0.2
could resolve this problem.
You just need to run npm update
in the command prompt or bash, and hopefully you will see the changes in your package.json
file. (yarn upgrade react --latest
and yarn upgrade react-dom --latest
if you want the upgrade to persist to the package.json
)
Here is a git report from my app after applying the update:
As the warning shows, Chrome will require cross-origin isolation starting version 91 in order to use SharedArrayBuffer. As far as I know there is nothing you can do to resolve the warning other then wait for a react update.
Others are also having this issue as you can see here and here
The issue is fixed in this pull request but has not yet been released.
Edit: It is now fixed in version 17.0.2 of react.
Actually after update react-dom
to the latest version solved by me the problem, react
alone did not solve it:
npm i react@latest react-dom@latest
OR
yarn add react@latest react-dom@latest