react enable concurrent mode code example
Example: enable concurrent mode in recat
//It stops rendering of element to have a better UX
//Go to index.js and make the following changes:-
ReactDOM.createRoot(document.getElementById('root')).render(<App />);