Fork me on GitHub
#reagent
<
2021-01-26
>
skykanin14:01:39

So I have this component which gets data from my re-frame db and renders it, but the flavour-text-entries data isn't always there when this component is rendered to so I want to render a skeleton component in it's place when the data doesn't exist, but for some reason the [skeleton ...] is never rendered in the if expression. It just remains an empty [species-info ...] component and I'm not sure why that is. I tried debugging with println but nothing ever gets printed from this component.

skykanin15:01:28

Got it working, seems that my REPL was disconnected from the mobile device while testing so it wasn't loading the latest code