Skip to content

Commit 806a37a

Browse files
authored
Release/0.4.0 (#139)
* chore: prepare changelog for v0.4.0 * chore: update readme with new list
1 parent a1b51c7 commit 806a37a

File tree

12 files changed

+149
-45
lines changed

12 files changed

+149
-45
lines changed

.changeset/eighty-turtles-poke.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/flat-bobcats-unite.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/hip-sloths-burn.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/long-vans-burn.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/purple-peas-confess.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/six-rabbits-hang.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/thin-ladybugs-cheat.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/twelve-parrots-tie.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
9595

9696
1. [useCounter](https://react-hooks.abhushan.dev/hooks/state/usecounter/): Manage a counter value with custom min, max and step properties.
9797

98+
1. [useCycleOn](https://react-hooks.abhushan.dev/hooks/state/usecycleon/): Cycle through a list of values.
99+
98100
1. [useDefault](https://react-hooks.abhushan.dev/hooks/state/usedefault/): Sets a default value to a state when it is null or undefined.
99101

100102
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
103105

104106
1. [useQueue](https://react-hooks.abhushan.dev/hooks/state/usequeue/): Manage a queue of items.
105107

108+
1. [useStack](https://react-hooks.abhushan.dev/hooks/state/usestack/): Manage a stack of items.
109+
106110
1. [useToggle](https://react-hooks.abhushan.dev/hooks/state/usetoggle/): Toogle a boolean value.
107111

108112
### User Interface (UI)
@@ -123,10 +127,14 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
123127

124128
1. [useOnUnmount](https://react-hooks.abhushan.dev/hooks/effects-and-lifecycles/useonunmount/): Run a callback after a component unmounts using the useOnUnmount hook.
125129

130+
1. [useOnUpdate](https://react-hooks.abhushan.dev/hooks/effects-and-lifecycles/useonupdate/): Runs a callback on every component update or re-render.
131+
126132
## Timers
127133

128134
1. [useInterval](https://react-hooks.abhushan.dev/hooks/timers/useinterval/): Manage intervals conveniently using the useInterval hook.
129135

136+
1. [useIntervalWhen](https://react-hooks.abhushan.dev/hooks/timers/useintervalwhen/): Manage intervals against a flag conveniently using the useIntervalWhen hook.
137+
130138
1. [useTimeout](https://react-hooks.abhushan.dev/hooks/timers/usetimeout/): Manage timeouts conveniently using the useTimeout hook.
131139

132140
## Utilities
@@ -139,6 +147,12 @@ Visit [react-hooks.abhushan.dev](https://react-hooks.abhushan.dev/) for more inf
139147

140148
1. [useIsClient](https://react-hooks.abhushan.dev/hooks/utilities/useisclient/): Returns a boolean flag to mark if code in running on client side.
141149

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+
142156
1. [useWasSSR](https://react-hooks.abhushan.dev/hooks/utilities/usewasssr/): Indicates whether the component was SSR'ed or not.
143157

144158
## Project Structure

react-hooks/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @abhushanaj/react-hooks
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- 7101e71: Addition of the useOnUpdate hook
8+
- fbcc3be: Addition of useSampleCallback hook
9+
- 806228e: Addition of the useStack hook
10+
- 3def15e: Addition of set and reset methods on useQueue hook
11+
- d5c968a: Addition of the useLimitCallback hook
12+
- f4722e0: Addition of the useCycleOn hook
13+
- 1747098: Addition of the useIntervalWhen hook
14+
- 185a18f: Addition of useLifeCycleLogger hook
15+
316
## 0.3.0
417

518
### Minor Changes

0 commit comments

Comments
 (0)