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

larsthorup / reactive-iteration / 13606900849

01 Mar 2025 04:57PM UTC coverage: 96.253% (-3.7%) from 99.99%
13606900849

push

github

larsthorup
chore: deps

32 of 46 branches covered (69.57%)

Branch coverage included in aggregate %.

0 of 1 new or added line in 1 file covered. (0.0%)

10167 of 10550 relevant lines covered (96.37%)

1.06 hits per line

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

0.0
/src/context/useRefVariable.ts
1
import { useRef } from "react";
×
2

3
// see: https://medium.com/@pgarciacamou/how-to-avoid-running-effects-on-every-render-in-react-userefvariable-hook-ad6e4a5e0abb
4
export function useRefVariable<T>(value: T) {
×
NEW
5
  const ref = useRef<T>(null);
×
6
  ref.current = value;
×
7
  return ref;
×
8
}
×
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

© 2026 Coveralls, Inc