ngx-pwa/session-storage code example
Example: extension for local storage in angular 8
let user: User = { firstName: 'Henri', lastName: 'Bergson' }; this.storage.set('user', user).subscribe(() => {});
let user: User = { firstName: 'Henri', lastName: 'Bergson' }; this.storage.set('user', user).subscribe(() => {});