What is the benefit of strict mode?

Posted by Editorial Staff | Updated on

What is the benefit of strict mode?

The will be helpful in the below cases

  1. Identifying components with unsafe lifecycle methods.
  2. Warning about legacy string ref API usage.
  3. Detecting unexpected side effects.
  4. Detecting legacy context API.
  5. Warning about deprecated findDOMNode usage

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers