I heard that strict mode helps to write React code in best practices way by throwing warnings for life cycle methods removal.
I read about it from https://medium.com/@baphemot/whats-new-in-react-16-3-d2c9b7b6193b
Is my understanding correct? How effective is strict mode? Is it only for unsafe life cycle methods? If not can I use this feature in functional components?
import { StrictMode} from “react”;
class Test extends Component{
render(
<StrictMode>
//Some other child component which has all lifecycle methods implemented in it
</StrictMode>
);
}