DEV Community

Cover image for React js Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API

React js Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API

Osman Forhad on March 30, 2022

Recently i have been working in a React js project its show me an warning in my Browser Console which is like below screen shot: don't worry i wi...
Collapse
 
delwarjnu11 profile image
Delwar Hossain •

Thank you

Collapse
 
osmanforhad profile image
Osman Forhad •

Welcome

Collapse
 
sammy4riner profile image
sammy4riner •

Hi, how can I use react-router@6 in the new react updated version@18

Collapse
 
osmanforhad profile image
Osman Forhad •
Collapse
 
joyshaheb profile image
Joy Shaheb •

thank you for the helpful article

Collapse
 
osmanforhad profile image
Osman Forhad •

Welcome

Collapse
 
collinsruto profile image
Collins Ruto •

Thanks it worked for me

Collapse
 
osmanforhad profile image
Osman Forhad •

Welcome

Collapse
 
fkbeys profile image
F.Kaya •

thank you for not sharing any code

Collapse
 
hypervenom007 profile image
Mohammed Yusuf Islam •

Wow... Thank you so much sir !!

Collapse
 
osmanforhad profile image
Osman Forhad •

wellcome

Collapse
 
iddimsangi profile image
iddimsangi •

Thank you,

Collapse
 
osmanforhad profile image
Osman Forhad •

Welcome

Collapse
 
duy2779 profile image
duy2779 •

why you don't use strict mode for react 18?

Collapse
 
osmanforhad profile image
Osman Forhad •

i think it's not relevant for me