On this React page we have many hooks and many context providers. One of the hooks I care about:
const { branchDetails, branchLoadError } = useBranchValidator();
Inside of it there's some state along with a couple of useEffect
s:
const [branchId, setBranchId] = useState(queryParams.branchId ?? '');
I'd like to see the branchId
value with React Dev Tools. I started with the assumption that the state for this hook would be inside the nearest context provider (image below) but it's not in there.
Is it possible to see the state in a React hook with the Dev Tools?