New update in building react app

i write my react code like this

import React from ‘react’;
import ReactDOM from ‘react-dom’;

import App from ‘./App’;

ReactDOM .render(, document.getElementById(‘root’));

but it will show nothing I think there is update with react dom client or something like that

but I don’t know how to make it

you are missing the first argument, what is it that you want to render?

In another file there is div with id of root



please avoid sending pioctures of your screen, if you want to share code use the proper markdown

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Try using App for the component name (should start with an uppercase letter).

Other than that, we can’t really debug this based on what you have given us. Look in the browser console for errors.