You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,10 +143,14 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
143
143
144
144
## Utilities
145
145
146
+
1.[useCustomEvent](https://react-hooks.abhushan.dev/hooks/utilities/usecustomevent/): Manage the entire lifecycle for a custom event.
147
+
146
148
1.[useDebounce](https://react-hooks.abhushan.dev/hooks/utilities/usewasssr/): Debounce a callback function over a wait (ms) period.
147
149
148
150
1.[useDebouncedValue](https://react-hooks.abhushan.dev/hooks/utilities/usedebouncedvalue/): Delay execution of a state update until a defined time period.
149
151
152
+
1.[useDispatchCustomEvent](https://react-hooks.abhushan.dev/hooks/utilities/usedispatchcustomevent/): Dispatch a custom event with payload.
153
+
150
154
1.[useFreshCallback](https://react-hooks.abhushan.dev/hooks/utilities/usefreshcallback/): Returns the latest and fresh callback function.
151
155
152
156
1.[useFreshRef](https://react-hooks.abhushan.dev/hooks/utilities/usefreshref/): Returns a ref with the latest and fresh value passed to it.
@@ -159,6 +163,8 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
159
163
160
164
1.[useSampleCallback](https://react-hooks.abhushan.dev/hooks/utilities/usesamplecallback/): Limits the invocation of a callback to every period samples.
161
165
166
+
1.[useSubscribeToCustomEvent](https://react-hooks.abhushan.dev/hooks/utilities/usesubscribetocustomevent/): Subscribe and manage lifecycle for a custom event.
167
+
162
168
1.[useThrottle](https://react-hooks.abhushan.dev/hooks/utilities/usewasssr/): Throttle a callback function over a duration(ms) period.
163
169
164
170
1.[useWasSSR](https://react-hooks.abhushan.dev/hooks/utilities/usewasssr/): Indicates whether the component was SSR'ed or not.
Copy file name to clipboardExpand all lines: react-hooks/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,10 +143,14 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
143
143
144
144
## Utilities
145
145
146
+
1.[useCustomEvent](https://react-hooks.abhushan.dev/hooks/utilities/usecustomevent/): Manage the entire lifecycle for a custom event.
147
+
146
148
1.[useDebounce](https://react-hooks.abhushan.dev/hooks/utilities/usewasssr/): Debounce a callback function over a wait (ms) period.
147
149
148
150
1.[useDebouncedValue](https://react-hooks.abhushan.dev/hooks/utilities/usedebouncedvalue/): Delay execution of a state update until a defined time period.
149
151
152
+
1.[useDispatchCustomEvent](https://react-hooks.abhushan.dev/hooks/utilities/usedispatchcustomevent/): Dispatch a custom event with payload.
153
+
150
154
1.[useFreshCallback](https://react-hooks.abhushan.dev/hooks/utilities/usefreshcallback/): Returns the latest and fresh callback function.
151
155
152
156
1.[useFreshRef](https://react-hooks.abhushan.dev/hooks/utilities/usefreshref/): Returns a ref with the latest and fresh value passed to it.
@@ -159,6 +163,8 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
159
163
160
164
1.[useSampleCallback](https://react-hooks.abhushan.dev/hooks/utilities/usesamplecallback/): Limits the invocation of a callback to every period samples.
161
165
166
+
1.[useSubscribeToCustomEvent](https://react-hooks.abhushan.dev/hooks/utilities/usesubscribetocustomevent/): Subscribe and manage lifecycle for a custom event.
167
+
162
168
1.[useThrottle](https://react-hooks.abhushan.dev/hooks/utilities/usewasssr/): Throttle a callback function over a duration(ms) period.
163
169
164
170
1.[useWasSSR](https://react-hooks.abhushan.dev/hooks/utilities/usewasssr/): Indicates whether the component was SSR'ed or not.
0 commit comments