-
Notifications
You must be signed in to change notification settings - Fork 300
Open
Description
Possible Add
- Updates to Client Rendering API (React 18)
// 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.
Metadata
Metadata
Assignees
Labels
No labels