Chris P Bacon
useContext(someContext) returns undefined if the component is inside fallback prop for <Show ... />
<Show />
's fallback expects an JSX.Element, so you want to "call" the component instead of passing it along. I am not sure if this would fix your issue, but hopefully it helps.
so turn
into 2 replies
Nested Stores not tracking with `trackDeep`/`trackStore`
I am not familiar with
trackStore
, but for my own case I just dumbly iterated the leafs of the tree so that everything is tracked in that scope. I suspect this is not how you are supposed to do it, but at least it works 😛
https://github.com/chris-kruining/calque/blob/dc30ebb35e36ea34ea7e368b4f3b5636aa1c0881/src/features/file/grid.tsx#L492 replies