Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes :: behavior -> stream? #27

Open
dmitriz opened this issue May 15, 2017 · 0 comments
Open

Changes :: behavior -> stream? #27

dmitriz opened this issue May 15, 2017 · 0 comments

Comments

@dmitriz
Copy link
Contributor

dmitriz commented May 15, 2017

https://github.com/funkia/hareactive#changesab-behaviora-streama

I am a bit confused about this one, e.g. if the behaviour is modelled by the mouse move, how is it translated into the continuous stream?

It is used in the example

https://github.com/funkia/turbine/blob/master/examples/zip-codes/index.ts#L41

in a way that feels a bit like throwing away the available information coming from the typing
events from the inputValue, which might be easier to model as (discrete) stream for precisely this reason. As stream it would emit the new value at the right time and you could save a line and a method, it would seem.

I might be missing something of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant