<div id="root">
</div>
const App = () => {
return (
<div>
<div>Boolean:{ true }</div>
<div>Boolean:{ false }</div>
<div>Null:{ null }</div>
<div>Undefined:{ undefined }</div>
</div>
)
}
const root = ReactDOM.createRoot(document.querySelector('#root'));
root.render(<App />);
View Compiled
This Pen doesn't use any external CSS resources.