@isograph/react-disposable-state 0.0.0-main-fe543c49 → 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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @isograph/react-disposable-state@0.0.0-main-fe543c49 compile-typescript /Users/runner/work/isograph/isograph/libs/isograph-react-disposable-state
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;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"}
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-fe543c49",
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-fe543c49"
21
+ "@isograph/disposable-types": "0.0.0-main-338d386b"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^18.0.0 || ^19.0.0"
@@ -35,7 +35,6 @@ import { ParentCache } from './ParentCache';
35
35
  *
36
36
  * Passing a different onCommit:
37
37
  * - Passing a different onCommit has no effect, except for during commit.
38
- *
39
38
  */
40
39
  export function useCachedResponsivePrecommitValue<T>(
41
40
  parentCache: ParentCache<T>,