Skip to main content

All Questions

0 votes
0 answers
46 views

swiper returns to previous slide when rendering component data

Assume two swiper slides. Slide1 and Slide2. In slide 1 I show a button that generates data, that data should be shown in slide2 but when that series of data is generated, when printed on slide2 it ...
LAUTARO 's user avatar
0 votes
1 answer
2k views

How to not lose NgRx state after page reload?

I am developing an Ionic Application with Angular and i want that if the user refreshes the page, the state of the app before the refresh gets loaded again. For state management i am using NgRx. The ...
Jul_H's user avatar
  • 3
0 votes
1 answer
185 views

Can NgRx be used well with Promises instead of Observables?

So far I have only seen NgRx used with Observables. Can the NgRx library be used with promises just as easily as with observables? I am using Ionic 5 and I know it works with NgRx (with Observables ...
Felix Olszewski's user avatar
0 votes
1 answer
63 views

Ionic (angular) app can't assign values to property because it thinks it is readonly but it's not

I'm creating some app using Ionic with Angular and I'm facing some strange issue with assigning properties. So, I have simple component which is rendering some filters for user to choose: <ng-...
hvma411's user avatar
  • 379
0 votes
2 answers
1k views

Conflicting peer dependency when installing NGRX

When trying to install NGRX from NPM for my ionic project with angular, I get a error. I use this command npm install @ngrx/store --save but i end up with this error: While resolving: @ngrx/eslint-...
jo1's user avatar
  • 175
0 votes
2 answers
198 views

Saving a snapshotChanges document in the NGRX state throws the error: Cannot freeze

I am creating a pagination system with Firebase and for this I have to pass a document to the "startAfter()" function of the "@angular/fire/compat/firestore" library. In my ...
JuamBer's user avatar
  • 35
2 votes
0 answers
300 views

Ionic App is crashing with Ngrx and ngx-socket-io

I'm working in an Ionic App with angular and socket IO (also I'm using ngrx), but I have a problem that the socket stops when the screen is inactive. The fail process is this: First you enter the app,...
Sergio Mendez's user avatar
3 votes
1 answer
759 views

How to Trigger the same API With different parameters everytime in NGRX and aggregate the response?

So I have this case where in , I have to trigger a single API , but each time with different paramaters . Consider -> https://stackoverflow.com/posts/postId=1234 I have a list of postId , say [ ...
Karthik's user avatar
  • 31
0 votes
1 answer
392 views

Ionic Cannot assign to read only property 'property' of object '[object Object]'

I'm working on an Ionic app with Angular framework and NGRX but I have a problem with selected checkbox The problem is this: First, I load some vehicle list from DB with a service, next, I set the ...
Sergio Mendez's user avatar
0 votes
1 answer
507 views

IONIC and NGRX set initial state from indexed db

I'm working in an Ionic app with angular and I want my state to be persistent so I added the plugin @ionic/storage-angular to save the current state and when I restart the app I want to set in ngrx ...
Sergio Mendez's user avatar
0 votes
2 answers
869 views

Property 'map' does not exist on type 'OperatorFunction<Action, never>'.ts(2339)

I'm new to ngrx and following a not that old tutorial but it seems the way "map", "ofType", "of" and "pipe" are used, have changed, so "map" and "of" are throwing errors "map" error : Property 'map'...
Peter Snee's user avatar
0 votes
1 answer
205 views

NGRX multiple subscription issue with Ionic 4

I am using ionic 4 with ngrx. I have a user selector on Page A and Page b both. export class ComponentA implements OnInit, OnDestroy { private readonly ngUnsubscribe: Subject<void> = new ...
abhinav singh's user avatar
1 vote
1 answer
408 views

TypeScript: NgRx effect to trigger an action

Am new to NgRx most of my code is working fine but am stuck at this particular one and I will be need your help . When Login Effect as been triggered and its successfully sent to LoginSuccess am ...
iAmServer's user avatar
1 vote
2 answers
4k views

Should I use Ngrx in Ionic 5? [closed]

I have few concerns when using ngrx in mobile app with Ionic 5: Performance issues on mobile devices. = ngrx is state management so all data from API will be stored in memory and accessible all the ...
playerone's user avatar
  • 1,127
0 votes
1 answer
242 views

ionic angular ngrx how to access a store

i am working on an ionic angular cordova app. I am trying to print my state, for example, all the objects in the state. However it cannot find the objects i putted inside. model export interface ...
zifan yan's user avatar
  • 124

15 30 50 per page