Fork me on GitHub
#re-frame
<
2022-01-28
>
lassemaatta04:01:41

inspired by gavriels question above: what (if any) are the differences between reg-sub-raw and reg-sub in a situation where you need to do a dynamic subscriptions?

lassemaatta04:01:50

at the moment I'm doing something like this

lassemaatta04:01:44

which (if I understand correctly) can also be done with reg-sub-raw with something like this (disclaimer: didn't actually try this, so syntax might be wrong)

p-himik08:01:21

No difference, except for maybe your own preference in style. If you check out the implementation of reg-sub, that's exactly what it's doing, plus some tracing.

👍 1