Fork me on GitHub
#re-frame
<
2023-10-12
>
jmckitrick20:10:41

Can someone confirm my understanding of form-2 components with re-frame? If I’m using subscriptions in a let and there are no parameters passed to the component, I can still return hiccup, right? There’s no need to return a fn , correct?

p-himik21:10:44

Yes. Doesn't matter if there's a let though, you can inline everything just fine (unless there are multiple usages of the same value, of course).

jmckitrick21:10:04

Thought so, thanks!

👍 1