@isograph/react-disposable-state 0.0.0-main-a5a81588 → 0.0.0-main-338d386b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-compile-typescript.log +1 -1
- package/dist/useCachedResponsivePrecommitValue.d.ts +0 -1
- package/dist/useCachedResponsivePrecommitValue.d.ts.map +1 -1
- package/dist/useCachedResponsivePrecommitValue.js +0 -1
- package/package.json +2 -2
- package/src/useCachedResponsivePrecommitValue.ts +0 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
|
2
|
-
> @isograph/react-disposable-state@0.0.0-main-
|
2
|
+
> @isograph/react-disposable-state@0.0.0-main-338d386b compile-typescript /Users/runner/work/isograph/isograph/libs/isograph-react-disposable-state
|
3
3
|
> rm -rf dist/* && tsc -p tsconfig.pkg.json
|
4
4
|
|
@@ -31,7 +31,6 @@ import { ParentCache } from './ParentCache';
|
|
31
31
|
*
|
32
32
|
* Passing a different onCommit:
|
33
33
|
* - Passing a different onCommit has no effect, except for during commit.
|
34
|
-
*
|
35
34
|
*/
|
36
35
|
export declare function useCachedResponsivePrecommitValue<T>(parentCache: ParentCache<T>, onCommit: (pair: ItemCleanupPair<T>) => void): {
|
37
36
|
state: T;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useCachedResponsivePrecommitValue.d.ts","sourceRoot":"","sources":["../src/useCachedResponsivePrecommitValue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C
|
1
|
+
{"version":3,"file":"useCachedResponsivePrecommitValue.d.ts","sourceRoot":"","sources":["../src/useCachedResponsivePrecommitValue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,iCAAiC,CAAC,CAAC,EACjD,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,EAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,IAAI,GAC3C;IAAE,KAAK,EAAE,CAAC,CAAA;CAAE,GAAG,IAAI,CA8DrB"}
|
@@ -33,7 +33,6 @@ const react_1 = require("react");
|
|
33
33
|
*
|
34
34
|
* Passing a different onCommit:
|
35
35
|
* - Passing a different onCommit has no effect, except for during commit.
|
36
|
-
*
|
37
36
|
*/
|
38
37
|
function useCachedResponsivePrecommitValue(parentCache, onCommit) {
|
39
38
|
// TODO: there should be two APIs. One in which we always re-render if the
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@isograph/react-disposable-state",
|
3
|
-
"version": "0.0.0-main-
|
3
|
+
"version": "0.0.0-main-338d386b",
|
4
4
|
"description": "Primitives for managing disposable state in React",
|
5
5
|
"homepage": "https://isograph.dev",
|
6
6
|
"main": "dist/index.js",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"tsc": "tsc"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@isograph/disposable-types": "0.0.0-main-
|
21
|
+
"@isograph/disposable-types": "0.0.0-main-338d386b"
|
22
22
|
},
|
23
23
|
"peerDependencies": {
|
24
24
|
"react": "^18.0.0 || ^19.0.0"
|