We use strict mode in our React app. But third parties does not use strict mode. How can I achieve this?
In index.js file remove the React.StrictMode wrapper.
From this
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);
To this
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(<App />);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With