Answer posted by Dan Letecky [DayPilot] 2 years ago.
I would recommend handling the logic directly in the onEventResizing event handler.
The typical action would be to notify the server or to ask for a confirmation. These actions are not typical “state changes” where useEffect makes most sense.
If you want to trigger useEffect you would have to change a state property. It could look like this: