setState is not updating properly when it is called in onchange of input type number – react js
Hi i have state const [value,setValue] = useState(0);
And a function A to setValue:
Eg:
Hi i have state const [value,setValue] = useState(0);
And a function A to setValue:
Eg: