3 ms·
You're talking about the performance of a click action. How many clicks a second do your users do? Millions? Also counters aren't mutable state in the sense of
by slver 5y ago
You're talking about the performance of a click action. How many clicks a second do your users do? Millions?
Also counters aren't mutable state in the sense of a value changing in time. The "increment" name was chosen so it's intuitive. They're more like the nth-child selectors, where an attribute's value is determined by its position in a list of matching nodes (where the match is determined by the increment being specified in those elements).