Should I Destroy Json Object When Navigating To Different Page On Spa
I have a SPA which loads the screen with HTML and Javascript files that contain the model data. They property could look like this on a specific page load. The object could conta
Solution 1:
If you set it to properties to undefined
, the data should eventually be garbage-collected. Just be sure to reinitialize the properties if the user returns to the page before closing the browser.
Post a Comment for "Should I Destroy Json Object When Navigating To Different Page On Spa"