ComponentWillUnmount call webservice
(Source/Credits: https://dev.to/salvuzzo87/componentwillunmount-call-webservice-203)
Hello friends, I have a question to ask. In the "componentWillUnmount" method, is it possible to inv...
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
Comments section