Skip to content

Commit

Permalink
perf: Use React.StrictMode.
Browse files Browse the repository at this point in the history
  • Loading branch information
sprout2000 committed Dec 18, 2021
1 parent b2eb79c commit 2078668
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/web/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ import ReactDOM from 'react-dom';

import { App } from './components/App';

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

0 comments on commit 2078668

Please sign in to comment.