Buuntu / fastapi-react

🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker
MIT License
2.22k stars 349 forks source link

Depreciation message in chrome #162

Open BugQualia opened 3 years ago

BugQualia commented 3 years ago

Probably due to react version problem(current version=^16.13.1, problem solved in 17.0.2), the following depreciation warning appears on chrome. Will changing the package.json file resolve the issue or is this problem more complicated?

more information: https://github.com/facebook/react/issues/20829

[Deprecation] SharedArrayBuffer will require cross-origin isolation as of M91, around May 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
(anonymous) @ scheduler.development.js:305
../node_modules/scheduler/cjs/scheduler.development.js @ scheduler.development.js:857
__webpack_require__ @ bootstrap:784
fn @ bootstrap:150
../node_modules/scheduler/index.js @ index.js:6
__webpack_require__ @ bootstrap:784
fn @ bootstrap:150
(anonymous) @ react-dom.development.js:20
../node_modules/react-dom/cjs/react-dom.development.js @ react-dom.development.js:25011
__webpack_require__ @ bootstrap:784
fn @ bootstrap:150
../node_modules/react-dom/index.js @ index.js:37
__webpack_require__ @ bootstrap:784
fn @ bootstrap:150
./src/index.tsx @ index.css?08b9:45
__webpack_require__ @ bootstrap:784
fn @ bootstrap:150
1 @ index.ts:4
__webpack_require__ @ bootstrap:784
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ main.chunk.js:1

Also, thanks for your work! I would have wasted a lot of time if it weren't for this project.

Buuntu commented 3 years ago

Mind submitting a PR with the latest react version?