funkia / turbine

Purely functional frontend framework for building web applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

filterApply undefined behavior bug

stevekrouse opened this issue · comments

filterApply(Behavior.of(undefined).map(() => () => true), stream).log()

Upon an event from stream errors: predicate.at(...) is not a function.

If you replaced undefined with 1, the error goes away.

That looks like a bug to me. It's really more a Hareactive than a Turbine bug though. But whatever we can keep it here 😄

Sounds good - happy to move it if you'd like. Just let me know :)