()
| 31 | // Note: By defining getValue outside of useEffect we ensure that it has ... |
| 32 | // ... current values of hook args (as this hook callback is created once on mount). |
| 33 | const handler = () => setValue(getValue); |
| 34 | // Set a listener for each media query with above handler as callback. |
| 35 | mediaQueryLists.forEach((mql) => mql.addListener(handler)); |
| 36 | // Remove listeners on cleanup |
nothing calls this directly
no outgoing calls
no test coverage detected