Go ProSign in
Hide playlist

    Modify and Track State in Cycle.js

    André StaltzAndré Staltz

    This lesson shows how we can create a more interactive app: a counter display with buttons to increment and decrement it. We'll see how we can use the xstream fold() operator to remember previous values and combine them to create the next values. This is actually how you keep state in Cycle.js.

    You must be a Member to view code