Answer the question
In order to leave comments, you need to log in
Let's say we import a component, but we only use it on condition. The question is, is it stored in memory? Does such a component get into the GC or DCE?
In order for an object to be deleted, the GC must ensure that the object is no longer used in the program. But all the components that I have in the application are used in one way or another, in conditions, routes, etc. etc. It turns out that in memory are all the objects that are in the program in principle, and which can be reached through other objects?
That is, even if the user does nothing, he has the entire application in memory? Or I don't understand something about GC?
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