Why is ReactDOM not defined?

When you encounter an error saying ‘ReactDOM’ is not defined, it means that your application is can’t find the variable ReactDOM because it hasn’t been initialized yet . Generally, “X is not defined error” is caused by wrong import and different letter case between import and the imported variable call.16 Eki 2020

Sizin İçin Seçtik  What is ReactDOM and what is the difference between ReactDOM and React?

Leave a Reply

Your email address will not be published. Required fields are marked *