Bit new to SolidJS reactivity, coming from Vue. I'm trying to make the equivalent of v-show="boolean", which toggles display: hidden on the element.
Problem: In the childrenToRender memo, I build the children that actually get rendered by this component. As the console.log notes, this memo does re-run when it should because shouldRenderFallback evaluates to true, and then false. However, once it evaluates to false, the actual returned value list seems to never update.
I feel like I might be using these reactivity tools incorrectly, though I haven't found anything better for this use case in the docs
Usage:
const [loading, setLoading] = createSignal(true);
setTimeout(() => {setLoading(false)}, 300);
<Hidden when={loading()} fallback={<span>Loading...</span>}>
<span>Loaded!</span>
</Hidden>