EA
onChange={handler(x)} иconst handler = idx => e => {
const next = inputRef.current[idx + 1];
if (next) {
next.focus()
}
};https://stackoverflow.com/a/60977523/5524590 -> 1.
Size: a a a
EA
onChange={handler(x)} иconst handler = idx => e => {
const next = inputRef.current[idx + 1];
if (next) {
next.focus()
}
};VK
onChange={handler(x)} иconst handler = idx => e => {
const next = inputRef.current[idx + 1];
if (next) {
next.focus()
}
};EA
x это idx?VK
x это idx?О
onClick={handleClick}.onClick={handleClick("qwerty")}.I
onClick={handleClick}.onClick={handleClick("qwerty")}.EA
I
I
L
Y
V
XX
L
V
IA
XX
L