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. 'use strict';
    
  11. 
    
  12. // Intentionally not using named imports because Rollup uses dynamic
    
  13. // dispatch for CommonJS interop named imports.
    
  14. import * as React from 'react';
    
  15. 
    
  16. export const useSyncExternalStore = React.useSyncExternalStore;