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
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,8 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
95
95
96
96
1.[useCounter](https://react-hooks.abhushan.dev/hooks/state/usecounter/): Manage a counter value with custom min, max and step properties.
97
97
98
+
1.[useCycleOn](https://react-hooks.abhushan.dev/hooks/state/usecycleon/): Cycle through a list of values.
99
+
98
100
1.[useDefault](https://react-hooks.abhushan.dev/hooks/state/usedefault/): Sets a default value to a state when it is null or undefined.
99
101
100
102
1.[useList](https://react-hooks.abhushan.dev/hooks/state/uselist/): Manage a list of items.
@@ -103,6 +105,8 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
103
105
104
106
1.[useQueue](https://react-hooks.abhushan.dev/hooks/state/usequeue/): Manage a queue of items.
105
107
108
+
1.[useStack](https://react-hooks.abhushan.dev/hooks/state/usestack/): Manage a stack of items.
109
+
106
110
1.[useToggle](https://react-hooks.abhushan.dev/hooks/state/usetoggle/): Toogle a boolean value.
107
111
108
112
### User Interface (UI)
@@ -123,10 +127,14 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
123
127
124
128
1.[useOnUnmount](https://react-hooks.abhushan.dev/hooks/effects-and-lifecycles/useonunmount/): Run a callback after a component unmounts using the useOnUnmount hook.
125
129
130
+
1.[useOnUpdate](https://react-hooks.abhushan.dev/hooks/effects-and-lifecycles/useonupdate/): Runs a callback on every component update or re-render.
131
+
126
132
## Timers
127
133
128
134
1.[useInterval](https://react-hooks.abhushan.dev/hooks/timers/useinterval/): Manage intervals conveniently using the useInterval hook.
129
135
136
+
1.[useIntervalWhen](https://react-hooks.abhushan.dev/hooks/timers/useintervalwhen/): Manage intervals against a flag conveniently using the useIntervalWhen hook.
137
+
130
138
1.[useTimeout](https://react-hooks.abhushan.dev/hooks/timers/usetimeout/): Manage timeouts conveniently using the useTimeout hook.
131
139
132
140
## Utilities
@@ -139,6 +147,12 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
139
147
140
148
1.[useIsClient](https://react-hooks.abhushan.dev/hooks/utilities/useisclient/): Returns a boolean flag to mark if code in running on client side.
141
149
150
+
1.[useLifecycleLogger](https://react-hooks.abhushan.dev/hooks/utilities/uselifecyclelogger/): Log messages for different lifecycles of a component with additional data.
151
+
152
+
1.[useLimitCallback](https://react-hooks.abhushan.dev/hooks/utilities/uselimitcallback/): Limit invocations of a callback to at max period count.
153
+
154
+
1.[useSampleCallback](https://react-hooks.abhushan.dev/hooks/utilities/usesamplecallback/): Limits the invocation of a callback to every period samples.
155
+
142
156
1.[useWasSSR](https://react-hooks.abhushan.dev/hooks/utilities/usewasssr/): Indicates whether the component was SSR'ed or not.
0 commit comments