React not rendering

Can anyone tell me what’s wrong with this React app? The page is blank whatever I do

i just updated the react dom library and it works, or at least displays something.

i have a template made here and i just update the lib as needed.

Cool. Thanks for sharing. Shall refer and do the necessary changes.

If you look into the console, you can find the error:

Error: Minified React error #227; visit https://reactjs.org/docs/error-decoder.html?invariant=227 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

If you click on this link, you will find the problem:
ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.

This means that you have to re-order the imports of your codepen.

Thank you so much! It’s working now!

I guess by readding, I re-ordered without realizing it!