@isograph/react-disposable-state 0.0.0-main-3a1418bf → 0.0.0-main-b80a5d6a

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isograph/react-disposable-state",
3
- "version": "0.0.0-main-3a1418bf",
3
+ "version": "0.0.0-main-b80a5d6a",
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-3a1418bf"
21
+ "@isograph/disposable-types": "0.0.0-main-b80a5d6a"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "18.2.0"
@@ -2,7 +2,7 @@ import { ItemCleanupPair } from '@isograph/disposable-types';
2
2
  import { useCallback, useEffect, useRef, useState } from 'react';
3
3
  import { useHasCommittedRef } from './useHasCommittedRef';
4
4
 
5
- export const UNASSIGNED_STATE = Symbol();
5
+ export const UNASSIGNED_STATE: unique symbol = Symbol();
6
6
  export type UnassignedState = typeof UNASSIGNED_STATE;
7
7
 
8
8
  type UseUpdatableDisposableStateReturnValue<T> = {