@hrnec06/react_utils 1.5.0 → 1.5.1
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 +1 -1
- package/src/index.ts +11 -4
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -7,6 +7,9 @@ import useEfficientRef from "./hooks/useEfficientRef";
|
|
|
7
7
|
import useEfficientState from "./hooks/useEfficientState";
|
|
8
8
|
import useUUID from "./hooks/useUUID";
|
|
9
9
|
import useFlags from "./hooks/useFlags";
|
|
10
|
+
import useDisposables from "./hooks/useDisposables";
|
|
11
|
+
import useNamespacedId from "./hooks/useNamespacedId";
|
|
12
|
+
import useTransition from "./hooks/useTransition";
|
|
10
13
|
|
|
11
14
|
import useSignal, { Signal } from "./hooks/useSignal";
|
|
12
15
|
import useLazySignal, { LazySignal } from "./hooks/useLazySignal";
|
|
@@ -18,17 +21,21 @@ import Dialog from "./components/Dialog/Dialog";
|
|
|
18
21
|
|
|
19
22
|
import * as util from './lib/utils';
|
|
20
23
|
|
|
24
|
+
|
|
21
25
|
export {
|
|
22
26
|
// Hooks
|
|
27
|
+
useDisposables,
|
|
28
|
+
useEfficientRef,
|
|
29
|
+
useEfficientState,
|
|
30
|
+
useFlags,
|
|
23
31
|
useKeyListener,
|
|
24
32
|
useListener,
|
|
33
|
+
useNamespacedId,
|
|
34
|
+
useTransition,
|
|
25
35
|
useUpdatedRef,
|
|
26
36
|
useUpdateEffect,
|
|
27
|
-
useWindowSize,
|
|
28
|
-
useEfficientRef,
|
|
29
|
-
useEfficientState,
|
|
30
37
|
useUUID,
|
|
31
|
-
|
|
38
|
+
useWindowSize,
|
|
32
39
|
|
|
33
40
|
// Signals
|
|
34
41
|
useSignal,
|