Apr 7, 2022
StrictMode is a tool for highlighting potential problems in an application.
like fragrament , StrictMode does not render any visible UI . It activates additional checks and warnings for its descendants.
Note: strict mode checks are run in development mode only ; they do not impact the production build.
StrictMode currently helps with :
- Identifying components with unsafe lifecycle
- Warning about legacy string ref API usage
- Warning about deprecated findDOMNode usage
- Detecting unexpected side effects
- Detecting legacy context API