codermannn

Results comments of codermannn

> @paulstelzer This is due to immutability, if the reference were changed, then the subscription would work and you would receive a new state. But since you use patchState, you...

> After sleeping one night about it, I got the solution ;) It's not a problem with NGXS, it's the reference of JavaScript objects. Easy solution: > > ``` >...

The tokenGetter seems to be creating a problem when used with Angular-Cli and AOT. Did you manage to find a solution?

@TheParad0X Try this. Worked for me. `export function tokenGetter(): string { return localStorage.getItem('access_token'); }` ` JwtModule.forRoot({ config: { tokenGetter, whitelistedDomains: ['localhost:3001'] } }),`

I feel so stupid now..Thanks mate. Cheers..

> Well I'm not reactive expert of course. I see that calling Uni.combine().all().unis(list) I have to check for list emptiness every time, and that makes code to look a lot...

cannot install package npm WARN Error: EPERM: operation not permitted, unlink 'D:\Fred\MedViewPortal\node_modules\dev\package.json' npm WARN { Error: EPERM: operation not permitted, unlink 'D:\Fred\MedViewPortal\node_modules\dev\package.json' npm WARN stack: 'Error: EPERM: operation not permitted,...

My package,json { "name": "ngx-restangular", "version": "1.0.10", "description": "ngx-restangular", "main": "./dist/umd/ngx-restangular.js", "module": "./dist/esm/src/index.js", "typings": "./dist/esm/src/index.d.ts", "scripts": { "start": "concurrently --raw \"webpack-dev-server --watch\"", "build:demo": "webpack -p", "build:umd": "webpack --config webpack.config.umd.js", "build:ngc":...

tried running as an administrator