B
<button onClick={this.someAction}
при этом где-то создается листенер?
Size: a a a
B
<button onClick={this.someAction}
B
B
И
const items = [];
for (let i = 0; i < 100; i++) {
items.push(i);
}
w
w
И
const items = new Array(100).map((_, index) => index);
w
VP
w
VP
const items = new Array(100).map((_, index) => index);
e
e
w
VP
e
B
w
(new Array(end - start + 1)).fill(undefined).map((_, i) => i + start);