Are subscriptions in non-reactive contexts still cached ? I remember that there was a proposal no avoid caching them, but I’m not sure if it has been adopted or not.
Still the case, yes.
damn, aright.
Re-frame alpha has a solution for that
Documentation isn't complete, but I'm happy to help if you want to try it out. https://day8.github.io/re-frame/api-re-frame.alpha/ https://github.com/day8/re-frame/issues/680#issuecomment-1676487563
Thanks @kimo741, I saw that already. I’m just unsure to go for it since it’s alpha. Do you know if it has been successfully used in production?
I'm maintaining a production app with it now, although it doesn't use the alpha features very heavily.
re-frame.alpha is a drop-in replacement for re-frame.core
All the same api is in place. IMO, it's stable, as long as all your namespaces are switched to (:require [re-frame.alpha]).
The only weirdness I found so far is with the argument to a signal function - map instead of vector.
I see, will try it out, thank you!