alpha
Login
Join now
wojtekmaj.pl
/
react-hooks
Star
Starred
Star
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
[READ-ONLY] Mirror of https://github.com/wojtekmaj/react-hooks. A collection of React Hooks.
hooks
react
react-hooks
+3 more
hooks
react
react-hooks
Star
Starred
Star
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
Version history of
src/
useToggle.ts
October 2026
Wojciech Maj
35bf0c70
defer the icon import
2d ago
defer the icon import
Copy SHA
Browse repository
Wojciech Maj
committed
2d ago
dependabot[bot]
a5c0c336
drop the dead compatibility branch
6d ago
drop the dead compatibility branch
Copy SHA
Browse repository
dependabot[bot]
committed
6d ago
dependabot[bot]
1d82b1a6
collapse the two nearly identical helpers
1w ago
collapse the two nearly identical helpers
Copy SHA
Browse repository
dependabot[bot]
committed
1w ago
dependabot[bot]
f68ee131
round the sizes to the token scale
1w ago
round the sizes to the token scale
Copy SHA
Browse repository
dependabot[bot]
committed
1w ago
dependabot[bot]
d208c4ba
handle the ref with a slash in it
2w ago
handle the ref with a slash in it
Copy SHA
Browse repository
dependabot[bot]
committed
2w ago
September 2026
Wojciech Maj
e300fa2e
keep the empty state on one line
3w ago
keep the empty state on one line
Copy SHA
Browse repository
Wojciech Maj
committed
3w ago
Wojciech Maj
c38e4905
round the sizes to the token scale
3w ago
round the sizes to the token scale
Copy SHA
Browse repository
Wojciech Maj
committed
3w ago
Wojciech Maj
073047ec
read the default from the config
1mo ago
read the default from the config
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
dependabot[bot]
10770532
move the guard up to the boundary
1mo ago
move the guard up to the boundary
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
Wojciech Maj
5b3d193a
handle the ref with a slash in it
1mo ago
handle the ref with a slash in it
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
dependabot[bot]
c77981a7
reuse the existing chip instead of a new one
1mo ago
reuse the existing chip instead of a new one
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
dependabot[bot]
18f6bad4
read the default from the config
1mo ago
read the default from the config
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
August 2026
Wojciech Maj
545159f9
name the magic number
1mo ago
name the magic number
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
dependabot[bot]
ef0f71a7
round the sizes to the token scale
1mo ago
round the sizes to the token scale
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
Wojciech Maj
bd7d96a2
fix the off-by-one in the page cursor
1mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
Wojciech Maj
1102630c
reuse the existing chip instead of a new one
1mo ago
reuse the existing chip instead of a new one
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
Wojciech Maj
6d6deb2d
keep the empty state on one line
2mo ago
keep the empty state on one line
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
dependabot[bot]
d109b205
read the default from the config
2mo ago
read the default from the config
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
Wojciech Maj
59e6389a
reuse the existing chip instead of a new one
2mo ago
reuse the existing chip instead of a new one
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
Wojciech Maj
a3f351e6
fix the off-by-one in the page cursor
2mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
dependabot[bot]
b36df6b7
treat a missing body as empty, not null
2mo ago
treat a missing body as empty, not null
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
dependabot[bot]
fc3417ab
treat a missing body as empty, not null
2mo ago
treat a missing body as empty, not null
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
July 2026
dependabot[bot]
c580fcec
cache the resolved handle for the session
2mo ago
cache the resolved handle for the session
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
Wojciech Maj
9a1607d8
let the caller pass its own fetch
2mo ago
let the caller pass its own fetch
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
Wojciech Maj
7e0c3732
fix the off-by-one in the page cursor
3mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
dependabot[bot]
04ff7c57
pull the loader out of the component
3mo ago
pull the loader out of the component
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
Wojciech Maj
79ad7358
fix the off-by-one in the page cursor
3mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
Wojciech Maj
8e84270c
walk the parents once, not twice
3mo ago
walk the parents once, not twice
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
dependabot[bot]
52c73deb
fix the off-by-one in the page cursor
3mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
Wojciech Maj
1c3a607f
fix the off-by-one in the page cursor
3mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
June 2026
Wojciech Maj
484344a3
walk the parents once, not twice
3mo ago
walk the parents once, not twice
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
dependabot[bot]
d8b2ed8f
treat a missing body as empty, not null
3mo ago
treat a missing body as empty, not null
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
dependabot[bot]
d707b645
handle the ref with a slash in it
3mo ago
handle the ref with a slash in it
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
Wojciech Maj
be1f7a8f
fix the off-by-one in the page cursor
4mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
dependabot[bot]
5bac92a7
drop the dead compatibility branch
4mo ago
drop the dead compatibility branch
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
dependabot[bot]
115c8507
defer the icon import
4mo ago
defer the icon import
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
dependabot[bot]
d1bbd68c
treat a missing body as empty, not null
4mo ago
treat a missing body as empty, not null
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
Wojciech Maj
27cfd483
round the sizes to the token scale
4mo ago
round the sizes to the token scale
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
dependabot[bot]
a02f0e2a
fix the off-by-one in the page cursor
4mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
dependabot[bot]
ffb37e40
read the default from the config
4mo ago
read the default from the config
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
Wojciech Maj
971166f9
walk the parents once, not twice
4mo ago
walk the parents once, not twice
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
dependabot[bot]
a2630465
let the caller pass its own fetch
4mo ago
let the caller pass its own fetch
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
dependabot[bot]
c5065d2a
cache the resolved handle for the session
4mo ago
cache the resolved handle for the session
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
May 2026
Wojciech Maj
aaac93c7
put the separator back between the rows
4mo ago
put the separator back between the rows
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
dependabot[bot]
9c0970fa
collapse the two nearly identical helpers
4mo ago
collapse the two nearly identical helpers
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
dependabot[bot]
59c37094
collapse the two nearly identical helpers
4mo ago
collapse the two nearly identical helpers
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
Wojciech Maj
b9a62a34
handle the ref with a slash in it
5mo ago
handle the ref with a slash in it
Copy SHA
Browse repository
Wojciech Maj
committed
5mo ago