@snailsdream The example that BitPhinix linked to does indeed implement incr/decr, but perhaps not quite the way you might expect. It looks like there aren’t incr/decr primitive actions in Y.js, but you can create the same behavior using a Y.Array which contains a list of the incr/decr values as integers, and then summing the items of the array when you want to observe the count. See the “array of numbers which produce a sum” comment in the example linked above.