Skip to content

Changes :: behavior -> stream? #27

Description

@dmitriz

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions