File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed 
packages/use-sync-external-store Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 22  "name" : " use-sync-external-store" 
33  "description" : " Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks." 
44  "version" : " 1.2.0" 
5+   "exports" : {
6+     "." : " ./index.js" 
7+     "./with-selector" : " ./with-selector.js" 
8+     "./shim" : {
9+       "react-native" : " ./shim/index.native.js" 
10+       "default" : " ./shim/index.js" 
11+     },
12+     "./shim/index.native" : " ./shim/index.native.js" 
13+     "./shim/with-selector" : " ./shim/with-selector.js" 
14+     "./package.json" : " ./package.json" 
15+   },
516  "repository" : {
617    "type" : " git" 
718    "url" : " https://github.com/facebook/react.git" 
Original file line number Diff line number Diff line change 99
1010import  *  as  React  from  'react' ; 
1111import  is  from  'shared/objectIs' ; 
12- import  { useSyncExternalStore }  from  'use-sync-external-store/src /useSyncExternalStore' ; 
12+ import  { useSyncExternalStore }  from  '. /useSyncExternalStore' ; 
1313
1414// Intentionally not using named imports because Rollup uses dynamic dispatch 
1515// for CommonJS interop. 
Original file line number Diff line number Diff line change 99
1010'use strict' ; 
1111
12- export  { useSyncExternalStoreWithSelector }  from  'use-sync-external-store /src/useSyncExternalStoreWithSelector' ; 
12+ export  { useSyncExternalStoreWithSelector }  from  '. /src/useSyncExternalStoreWithSelector' ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments