Skip to Content
0
Oct 19, 2019 at 04:36 AM

How to keep local JSON data available through out the session ?

221 Views

Hi,

I am copying data from odata model to local json model. This json model is declared in component.js file. Now when I refresh the page the data in this local json is lost. Is there a way I can keep a copy of the JSON model data through out the user session ?