• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alessiofrittoli / react-hooks / 15929146635

27 Jun 2025 02:48PM UTC coverage: 100.0%. Remained the same
15929146635

Pull #35

github

alessiofrittoli
docs: update `useMediaQuery` API Reference
Pull Request #35: feature/useMediaQuery-improvements

162 of 162 branches covered (100.0%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 1 file covered. (100.0%)

331 of 331 relevant lines covered (100.0%)

12.14 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/browser-api/storage/useLocalStorage.ts
1
import { useStorage } from './useStorage'
3✔
2

3
/**
4
 * useLocalStorage hook.
5
 * 
6
 * @param        key                The local storage item key.
7
 * @param        initial        The local storage item initial value.
8
 */
9
export const useLocalStorage = <T = string>(
3✔
10
        key                : string,
11
        initial?: T
12
) => useStorage( key, initial, 'local' )
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc