I have created a singleton class in Angular2 and it works fine . I was able to store some values and use those in the child components. But the issue is that when i refresh the browser the singleton class is recreated and the old object is gone. Is thier any way i can persist those values even after the browser refresh. It would be a life saver if anyone can help me. Thanks in advance.
Note: I dont want to use localstorage or sessionstorage since their is a lot of information to store.