Skip to content
Justice Tech School

Strict Mode and Development Checks

StrictMode runs components twice in development to reveal impure code and missing cleanups. It does nothing in production builds.

Example
<React.StrictMode>
  <App />
</React.StrictMode>

Exercise

Wrapper component.

<React.Mode>

Quiz Test

Does StrictMode affect production?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.