I was reading the doc and learned that React StrictMode
is for development only, and it explains why we have double invoke.
That's great, but does it mean I have to disable the StrictMode
manualy for my production, or does react build
command does it on its own?
Stright from the Beta docs:
Strict Mode enables the following checks in development:
All of these checks are development-only and do not impact the production build.