Answer the question
In order to leave comments, you need to log in
How to use the state data before the component is unmounted?
Hello! My question is: how can state data be used just before the component is unmounted? In the example, when unmounting, empty strings are returned to us.
ps if the sandbox with the example did not open, then click here
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question