Skip to content

Commit

Permalink
export subscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Nov 18, 2020
1 parent 9869c93 commit 900e766
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"index.js": {
"bundled": 4699,
"minified": 2008,
"gzipped": 887,
"bundled": 4728,
"minified": 2036,
"gzipped": 894,
"treeshaked": {
"rollup": {
"code": 61,
Expand All @@ -14,13 +14,13 @@
}
},
"index.cjs.js": {
"bundled": 5315,
"minified": 2339,
"gzipped": 978
"bundled": 5351,
"minified": 2372,
"gzipped": 985
},
"index.iife.js": {
"bundled": 5653,
"minified": 1837,
"gzipped": 851
"bundled": 5691,
"minified": 1856,
"gzipped": 857
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ const useProxy = <T extends object>(proxy: T): T => {
return createDeepProxy(snapshot, affected, proxyCache)
}

export { createProxy as proxy, useProxy }
export { createProxy as proxy, useProxy, subscribe as subscribeProxy }

0 comments on commit 900e766

Please sign in to comment.