Become a member
to unlock all features

Create an egghead account to access 5000+ tutorials and resources from expert developers.

Create account

    Modify and Track State in Cycle.js


    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.