Dear All,
I have a small doubt regarding in my component of Angular 5 I have created on dynamic dictonary for global use purpose.
Its working fine but whenever I refresh the page then all values gets vanished.
At that time if I am calling any method then I am getting error. So how can I overcome on above problem.
Thanking You in advance.

Abhishek MishraRank #871 · 2.5K reputationPosted May 23, 2019, 8:00 PM EDT
Or else you can create observer method to get the data from your server or api when your app is loaded.
Mandar ShindeRank #4,584 · 336 reputationPosted May 23, 2019, 10:21 PM EDT
Abhishek MishraRank #871 · 2.5K reputationPosted May 23, 2019, 10:35 PM EDT
Mandar ShindeRank #4,584 · 336 reputationPosted May 23, 2019, 11:42 PM EDT
Veerendra AnnigereRank #927 · 2.2K reputationPosted May 27, 2019, 9:14 PM EDT
Mandar ShindeRank #4,584 · 336 reputationPosted Jun 3, 2019, 12:56 AM EDT