Posted 16 July 2022, 2:17 am EST
Hi teams,
On my web application, i create state:
const [point, setPoint] = useState<number[]>([]);
I have a button. When user click button, i will set state as below:
setPoint([9, 10])
In all events of SpreadJS (such as: rangeChanged, cellChanged,…), when i get point, it’s always return (initial state).
How can i get and use React state on SpreadJS events ?