📝 Edit page
            
    ➕ Add page
            
    
         
    
    
    
    
        
            
        
    
 
        
    Strict mode
Strict mode in the docs
StrictModeis a tool for highlighting potential problems in an application.Like
Fragment,StrictModedoes not render any visible UI. It activates additional checks and warnings for its descendants.
Strict mode checks are run in development mode only; they do not impact the production build.
Example of applying strict mode in the main section:
import React from 'react';
function Example() {
  return (
    <>
      <Header />
      
      <React.StrictMode>        
        <main>
          <ComponentOne />
          <ComponentTwo />
        </main>
      </React.StrictMode>    
      
      <Footer />
    </>
  );
}