Open rao123dk opened 2 years ago
Possible Add
// Before import { render } from 'react-dom'; const container = document.getElementById('app'); render(<App tab="home" />, container);
// After import { createRoot } from 'react-dom/client'; const container = document.getElementById('app'); const root = createRoot(container); root.render(<App tab="home" />);
Note:- Its is useful for someone who is following micro-frontend architecture.
Possible Add
Note:- Its is useful for someone who is following micro-frontend architecture.