ngx-store icon indicating copy to clipboard operation
ngx-store copied to clipboard

Angular decorators to automagically keep variables in HTML5 LocalStorage, SessionStorage, cookies; injectable services for managing and listening to data changes and a bit more.

Results 21 ngx-store issues
Sort by recently updated
recently updated
newest added

Simlilar to https://github.com/zoomsphere/ngx-store/issues/97 but this occurs after upgrading to Angular 13 which uses typescript 4.4 ``` Error: node_modules/ngx-store/lib/utility/storage/storage-event.d.ts:1:22 - error TS2420: Class 'NgxStorageEvent' incorrectly implements interface 'Omit'. Property 'initStorageEvent' is...

For some reason tests override each others state when using `@SharedStorage()`. Is there a way I could mock decorator, so values wouldn't be shared in tests? To make it even...

question

If the end-user browser is configured to block cookies (or block third party cookies in a cross site iframe context) the whole Angular app can crash in an uncatchable error...

I'm using @CookieStorage decorator on fields like this: ` @CookieStorage({key: 'customerssearchTerm'}) searchTerm ="";` everything works fine in development when the project runs using `ng serve` command. However when build using...

- returned event, not events array - fixed condition for exact match keys - removed unused imports

I have created a variable on a component level in a following manner below `@LocalStorage() token: string = "hello!";` When I am accessing it in a method, it has type...

We have an issue that happens once in a while that makes boolean values to be reset in likely AOT mode. I know there is a solution to add `onDestroy`,...

Hi, It seems that the package does not support universal. I am using universal for SEO, and it is part of angular since version 4.0.0 Are there any plans to...

enhancement
accepting PRs

Hello, Currently, in webstorage.utility.ts, we have the following function: `public set(key: string, value: T, config: DecoratorConfig = {}): T {` However, in its definition, we can see that it's only...

enhancement
accepting PRs

Hello, I am just trying the library, because it seem very interesting. But I am having some problems. Everytime I refresh my page, all the localstorage is removed. Maybe I...

needs repro or more information