Hacker News new | ask | show | jobs
by whiddershins 1140 days ago
The second example counter is jumping around instead of incrementing/decrementing by 1. Is state being shared between users or somesuch?

Or is it because I first clicked the full reload example several times?

iOS

1 comments

The state is shared between users for the demo. Its possible to separate state in the library per user but I haven't enabled it.
It’s a rather confusing demo. If that’s the intended behavior, I think you need to think of a less surprising use of it that can be understood as a demo, and perhaps even comes across as a benefit rather than a bug.
Seems like everyone is just pushing the red button. Let me give some love to green button.
I pressed the green button a bunch. Like, a LOT. Zero is such a nice, healthy, round number.
As a sibling said, this is not a bug, but a feature, if explained as such.