Understanding and Enabling Strict Mode
Learn to enable the React strict mode.
We'll cover the following...
React strict mode
React strict mode helps us write better React components by carrying out certain checks. This includes checks on class component life cycle methods.
React components can either be implemented using a class or a function. Class components have special methods called life cycle methods that can execute logic at certain times in the component’s life cycle.
Strict mode checks that the life cycle methods will function correctly in React concurrent mode.
Note: React concurrent mode is a set of features that help React apps stay responsive, even when network speeds are ...