1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @flow
    
  8.  */
    
  9. 
    
  10. import * as React from 'react';
    
  11. import {StrictMode} from 'react';
    
  12. 
    
  13. export default function PartiallyStrictApp(): React.Node {
    
  14.   return (
    
  15.     <>
    
  16.       <Child />
    
  17.       <StrictMode>
    
  18.         <StrictChild />
    
  19.       </StrictMode>
    
  20.     </>
    
  21.   );
    
  22. }
    
  23. 
    
  24. function Child() {
    
  25.   return <Grandchild />;
    
  26. }
    
  27. 
    
  28. function StrictChild() {
    
  29.   return <Grandchild />;
    
  30. }
    
  31. 
    
  32. function Grandchild() {
    
  33.   return null;
    
  34. }