import 'process';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './components/App';

import 'codemirror/lib/codemirror.css';
import './react-docgen.less';

ReactDOM.render(<App />, document.getElementById('root'));

import 'process';
import React from 'react';
import * as ReactDOMClient from 'react-dom/client';
import App from './components/App';
import 'codemirror/lib/codemirror.css';
import './react-docgen.less';

const container = document.getElementById('root');
const root = ReactDOMClient.createRoot(container);

root.render(<App />);

Use new react 18 createRoot API
chore(website): Use new react 18 createRoot API
