Uaktualnij do React 18
npm install react@18 react-dom@18
EfficientCoder
npm install react@18 react-dom@18
npm install react@alpha react-dom@alpha