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

alessiofrittoli / react-hooks / 15086852160

17 May 2025 04:03PM UTC coverage: 100.0%. Remained the same
15086852160

Pull #33

github

alessiofrittoli
docs: updated `useInView` API Reference
Pull Request #33: feature/useInView-improvements

157 of 157 branches covered (100.0%)

Branch coverage included in aggregate %.

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

324 of 324 relevant lines covered (100.0%)

12.29 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