DEV Community 👩‍💻👨‍💻

Gülsen Keskin
Gülsen Keskin

Posted on • Updated on

React Versiyon Düşürme

npm install --save --save-exact react@versiyonNo
npm install --save --save-exact react-dom@versiyonNo

Module not found: Error: Can't resolve 'react-dom/client' hatası alırsanız index.js dosyasını aşağıdaki kod'la değiştirin.


import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';

    <App />

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
Enter fullscreen mode Exit fullscreen mode


Top comments (0)

🌚 Turn on dark mode

🔠 Change your default font

📚 Adjust your experience level to see more relevant content


Head to your account's Settings to do all this and more.