Answer the question
In order to leave comments, you need to log in
Disable component unmount?
What are the ways to disable unmounting of a component? It is required to check through the dialog box.
Routes don't change, browser window stays open
useEffect(() => {
return () => {
//Отменить размонтирование
}
}, []);
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