()
| 3 | const updateReducer = (num: number): number => (num + 1) % 1_000_000; |
| 4 | |
| 5 | export default function useUpdate(): () => void { |
| 6 | const [, update] = useReducer(updateReducer, 0); |
| 7 | |
| 8 | return update; |
| 9 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…