We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exports
1 parent 028c8e6 commit d77e5f6Copy full SHA for d77e5f6
packages/use-sync-external-store/package.json
@@ -2,6 +2,18 @@
2
"name": "use-sync-external-store",
3
"description": "Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.",
4
"version": "1.5.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
+ "./src/*": "./src/*.js"
16
17
"repository": {
18
"type": "git",
19
"url": "https://github.com/facebook/react.git",
packages/use-sync-external-store/shim/with-selector/index.js renamed to packages/use-sync-external-store/shim/with-selector.js
0 commit comments