Help when the app closes and reopens the whole component is run again

When I leave the application and re-enter I load again the whole page and the component and I want to know how to disable so that does not happen.