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/
usePrefersContrast.ts
October 2026
Wojciech Maj
040f7f90
drop the dead compatibility branch
3d ago
drop the dead compatibility branch
Copy SHA
Browse repository
Wojciech Maj
committed
3d ago
dependabot[bot]
9dd497f5
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
Wojciech Maj
65b6346f
split the view out of the route
1w ago
split the view out of the route
Copy SHA
Browse repository
Wojciech Maj
committed
1w ago
Wojciech Maj
91e4d5fd
read the default from the config
2w ago
read the default from the config
Copy SHA
Browse repository
Wojciech Maj
committed
2w ago
dependabot[bot]
9c6099ef
name the magic number
2w ago
name the magic number
Copy SHA
Browse repository
dependabot[bot]
committed
2w ago
dependabot[bot]
43cfef9e
cache the resolved handle for the session
2w ago
cache the resolved handle for the session
Copy SHA
Browse repository
dependabot[bot]
committed
2w ago
September 2026
dependabot[bot]
235fb53f
stop swallowing the parse error
3w ago
stop swallowing the parse error
Copy SHA
Browse repository
dependabot[bot]
committed
3w ago
Wojciech Maj
ad39b4e4
let the caller pass its own fetch
3w ago
let the caller pass its own fetch
Copy SHA
Browse repository
Wojciech Maj
committed
3w ago
Wojciech Maj
2adc2add
move the guard up to the boundary
4w ago
move the guard up to the boundary
Copy SHA
Browse repository
Wojciech Maj
committed
4w ago
dependabot[bot]
3e969406
split the view out of the route
1mo ago
split the view out of the route
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
Wojciech Maj
a946ba18
pull the loader out of the component
1mo ago
pull the loader out of the component
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
Wojciech Maj
68485b01
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]
ebb2d4d9
cache the resolved handle for the session
1mo ago
cache the resolved handle for the session
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
dependabot[bot]
6edfdea8
cache the resolved handle for the session
1mo ago
cache the resolved handle for the session
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
Wojciech Maj
530eec4f
tighten the types around the response
1mo ago
tighten the types around the response
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
dependabot[bot]
9a1d735c
tighten the types around the response
1mo ago
tighten the types around the response
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
Wojciech Maj
726f7166
spell the aria label out loud
1mo ago
spell the aria label out loud
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
August 2026
Wojciech Maj
56000cc5
defer the icon import
1mo ago
defer the icon import
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
Wojciech Maj
e67a41c5
stop the header from reflowing on hover
1mo ago
stop the header from reflowing on hover
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
dependabot[bot]
954949a5
round the sizes to the token scale
2mo ago
round the sizes to the token scale
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
Wojciech Maj
5e2900e9
collapse the two nearly identical helpers
2mo ago
collapse the two nearly identical helpers
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
dependabot[bot]
7216a331
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
dependabot[bot]
b8dca6cf
stop swallowing the parse error
2mo ago
stop swallowing the parse error
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
dependabot[bot]
e63800d3
fix the off-by-one in the page cursor
2mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
Wojciech Maj
ba808432
stop the header from reflowing on hover
2mo ago
stop the header from reflowing on hover
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
Wojciech Maj
706dfdba
pull the loader out of the component
2mo ago
pull the loader out of the component
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
dependabot[bot]
65d81afb
put the separator back between the rows
2mo ago
put the separator back between the rows
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
dependabot[bot]
c1382e59
make the toggle keyboard reachable
2mo ago
make the toggle keyboard reachable
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
July 2026
dependabot[bot]
45d15c12
stop the header from reflowing on hover
2mo ago
stop the header from reflowing on hover
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
dependabot[bot]
8d162789
stop the header from reflowing on hover
2mo ago
stop the header from reflowing on hover
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
Wojciech Maj
4c75497e
trim the trailing newline before hashing
2mo ago
trim the trailing newline before hashing
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
Wojciech Maj
a4d24dd8
stop swallowing the parse error
2mo ago
stop swallowing the parse error
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
Wojciech Maj
b039a7f7
spell the aria label out loud
3mo ago
spell the aria label out loud
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
Wojciech Maj
8b2ab1d7
spell the aria label out loud
3mo ago
spell the aria label out loud
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
dependabot[bot]
21a4600b
trim the trailing newline before hashing
3mo ago
trim the trailing newline before hashing
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
dependabot[bot]
00ab1b6b
tighten the types around the response
3mo ago
tighten the types around the response
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
dependabot[bot]
71ec8d47
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
June 2026
Wojciech Maj
f0126118
collapse the two nearly identical helpers
3mo ago
collapse the two nearly identical helpers
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
dependabot[bot]
b5075e3a
cache the resolved handle for the session
3mo ago
cache the resolved handle for the session
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
Wojciech Maj
c2c473a7
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]
90a506d6
tighten the types around the response
4mo ago
tighten the types around the response
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
Wojciech Maj
d4f2b420
handle the ref with a slash in it
4mo ago
handle the ref with a slash in it
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
Wojciech Maj
fb6fdc97
stop swallowing the parse error
4mo ago
stop swallowing the parse error
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
dependabot[bot]
fef4e726
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
55a975a8
read the default from the config
4mo ago
read the default from the config
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
Wojciech Maj
37fada1a
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]
abdec5bc
trim the trailing newline before hashing
4mo ago
trim the trailing newline before hashing
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
dependabot[bot]
c19cb9ca
pull the loader out of the component
4mo ago
pull the loader out of the component
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
dependabot[bot]
ba015bee
move the guard up to the boundary
4mo ago
move the guard up to the boundary
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
May 2026
Wojciech Maj
97181a05
reuse the existing chip instead of a new one
4mo ago
reuse the existing chip instead of a new one
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
Previous
1
2
3
Next