funcool

A channel for discussing and asking questions about Funcool libraries https://github.com/funcool/
2021-03-01T21:33:42.035100Z

is it possible to imitate something like re-frame reg-sub-raw with beicon/rxjs?

2021-03-01T21:35:24.035300Z

observables are lazy, but if I want to be able to retrieve the last value from them, I pin them to a behavior-subject, but behavior-subjects make my streams stop being lazy...

2021-03-01T21:37:44.035900Z

I would like to automagically make the calculation happen only when I deref behavior-subject

2021-03-01T21:37:54.036100Z

is this even possible?

2021-03-01T21:45:07.036500Z

the only thing I can figure out is to rewrite the use-rxsub, which can be found in the penpot, so that it accepts the stream and only creates the behavior-subject inside