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/
usePrefersColorScheme.spec.ts
October 2026
dependabot[bot]
ac95982f
keep the empty state on one line
3d ago
keep the empty state on one line
Copy SHA
Browse repository
dependabot[bot]
committed
3d ago
Wojciech Maj
784887d4
name the magic number
6d ago
name the magic number
Copy SHA
Browse repository
Wojciech Maj
committed
6d ago
dependabot[bot]
a037abed
move the guard up to the boundary
1w ago
move the guard up to the boundary
Copy SHA
Browse repository
dependabot[bot]
committed
1w ago
September 2026
Wojciech Maj
5ef01651
trim the trailing newline before hashing
2w ago
trim the trailing newline before hashing
Copy SHA
Browse repository
Wojciech Maj
committed
2w ago
dependabot[bot]
845ffacd
cache the resolved handle for the session
3w ago
cache the resolved handle for the session
Copy SHA
Browse repository
dependabot[bot]
committed
3w ago
dependabot[bot]
0a070126
cache the resolved handle for the session
3w ago
cache the resolved handle for the session
Copy SHA
Browse repository
dependabot[bot]
committed
3w ago
Wojciech Maj
e0029f3c
read the default from the config
3w ago
read the default from the config
Copy SHA
Browse repository
Wojciech Maj
committed
3w ago
dependabot[bot]
0c24c3c5
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]
0fc718da
treat a missing body as empty, not null
1mo ago
treat a missing body as empty, not null
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
Wojciech Maj
133932c8
put the separator back between the rows
1mo ago
put the separator back between the rows
Copy SHA
Browse repository
Wojciech Maj
committed
1mo ago
dependabot[bot]
2dda4baf
collapse the two nearly identical helpers
1mo ago
collapse the two nearly identical helpers
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
Wojciech Maj
ef39c70f
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
August 2026
Wojciech Maj
a4cb09dc
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]
46951755
let the caller pass its own fetch
1mo ago
let the caller pass its own fetch
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
dependabot[bot]
e09ae2ef
fix the off-by-one in the page cursor
1mo ago
fix the off-by-one in the page cursor
Copy SHA
Browse repository
dependabot[bot]
committed
1mo ago
dependabot[bot]
b1f90cfa
make the toggle keyboard reachable
2mo ago
make the toggle keyboard reachable
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
Wojciech Maj
a6ebe8d1
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
dependabot[bot]
e5ad5366
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
dependabot[bot]
d12313fd
keep the empty state on one line
2mo ago
keep the empty state on one line
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
July 2026
dependabot[bot]
3cb8f98e
drop the dead compatibility branch
2mo ago
drop the dead compatibility branch
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
Wojciech Maj
3155fc89
cache the resolved handle for the session
2mo ago
cache the resolved handle for the session
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
Wojciech Maj
d89795af
defer the icon import
2mo ago
defer the icon import
Copy SHA
Browse repository
Wojciech Maj
committed
2mo ago
dependabot[bot]
817494fa
reuse the existing chip instead of a new one
2mo ago
reuse the existing chip instead of a new one
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
dependabot[bot]
f1a93c7e
reuse the existing chip instead of a new one
2mo ago
reuse the existing chip instead of a new one
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
Wojciech Maj
e02cf2f5
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
dependabot[bot]
7c6260ea
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]
87e609be
split the view out of the route
2mo ago
split the view out of the route
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
dependabot[bot]
8a18dd8d
name the magic number
2mo ago
name the magic number
Copy SHA
Browse repository
dependabot[bot]
committed
2mo ago
dependabot[bot]
9d036374
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
dependabot[bot]
a9f4e51c
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
dependabot[bot]
6c2992a3
round the sizes to the token scale
3mo ago
round the sizes to the token scale
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
June 2026
dependabot[bot]
924ce8fb
split the view out of the route
3mo ago
split the view out of the route
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
dependabot[bot]
eb89f299
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
7ecb7185
treat a missing body as empty, not null
3mo ago
treat a missing body as empty, not null
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
Wojciech Maj
d82bf038
reuse the existing chip instead of a new one
3mo ago
reuse the existing chip instead of a new one
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
dependabot[bot]
d910af42
round the sizes to the token scale
3mo ago
round the sizes to the token scale
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
dependabot[bot]
36ae9b3d
drop the dead compatibility branch
3mo ago
drop the dead compatibility branch
Copy SHA
Browse repository
dependabot[bot]
committed
3mo ago
Wojciech Maj
4b6c77d2
pull the loader out of the component
3mo ago
pull the loader out of the component
Copy SHA
Browse repository
Wojciech Maj
committed
3mo ago
dependabot[bot]
cc028a75
name the magic number
4mo ago
name the magic number
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
Wojciech Maj
081d24b8
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
dependabot[bot]
368ae64c
drop the dead compatibility branch
4mo ago
drop the dead compatibility branch
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
May 2026
Wojciech Maj
ae25386a
pull the loader out of the component
4mo ago
pull the loader out of the component
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
Wojciech Maj
b30951bb
stop swallowing the parse error
4mo ago
stop swallowing the parse error
Copy SHA
Browse repository
Wojciech Maj
committed
4mo ago
dependabot[bot]
feddafe5
put the separator back between the rows
4mo ago
put the separator back between the rows
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
Wojciech Maj
615857fd
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
5a6cd704
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]
f39d37ff
put the separator back between the rows
4mo ago
put the separator back between the rows
Copy SHA
Browse repository
dependabot[bot]
committed
4mo ago
Wojciech Maj
911076ae
let the caller pass its own fetch
5mo ago
let the caller pass its own fetch
Copy SHA
Browse repository
Wojciech Maj
committed
5mo ago
dependabot[bot]
475474fc
defer the icon import
5mo ago
defer the icon import
Copy SHA
Browse repository
dependabot[bot]
committed
5mo ago
Wojciech Maj
0ca90a4d
stop the header from reflowing on hover
5mo ago
stop the header from reflowing on hover
Copy SHA
Browse repository
Wojciech Maj
committed
5mo ago
Previous
1
2
3
4
Next