64
rated 0 times
[
67]
[
3]
/ answers: 1 / hits: 6925
/ 1 Year ago, thu, december 29, 2022, 12:00:00
Simply, how can I disable Strict Mode in React 18? I'm using React 18 with create-react-app.
More From » reactjs
Simply, how can I disable Strict Mode in React 18? I'm using React 18 with create-react-app.
Look for this code in index.js and remove the outer element:
<React.StrictMode>
<App />
</React.StrictMode>
Note:
Strict mode checks are run in development mode only; they do not
impact the production build.
https://reactjs.org/docs/strict-mode.html