re-frame

jmckitrick 2023-10-12T20:58:41.779389Z

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-himik 2023-10-12T21:40:44.078999Z

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).

jmckitrick 2023-10-12T21:59:04.969859Z

Thought so, thanks!

👍 1