We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3d5bbc commit c01ddc0Copy full SHA for c01ddc0
src/hooks/useTrackedState.js
@@ -36,7 +36,7 @@ const useAffectedDebugValue = (state, affected) => {
36
useEffect(() => {
37
pathList.current = affectedToPathList(state, affected)
38
})
39
- useDebugValue(pathList)
+ useDebugValue(pathList.current)
40
}
41
42
function useTrackedStateWithStoreAndSubscription(store, contextSub) {
0 commit comments