Hello friends, I have a question to ask. In the "componentWillUnmount" method, is it possible to invoke a webservice? Or can I just cancel timers?

I need to update the database when the component is deleted and I would like to do it in the method "componentWillUnmount"

Thanks you all