You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can someone provide me an example, or explanation, of how to invalidate my cache, or to re-fetch data for the currently selected filters when i perform create, update or delete operations, I am in desperate need :(
For eg., I have a row with a delete button on it. When I click it, nothing changes, but when i refresh it does change...
Angular 13 & Akita 7
The text was updated successfully, but these errors were encountered:
This is not an akita but an angular feature you're missing . For example (and simplicity) You can use an async pipe with an observable you select from the query when you set your datatable datasource. Then , if you do correct updates/delete, etc, everything will be "automagic". If you use a smart/dumb architecture the async pipe can be on your dumb component @input . The async pipe subscribes to the observable AND unsubscribes when the component gets destroyed , this is the only thing you need
Can someone provide me an example, or explanation, of how to invalidate my cache, or to re-fetch data for the currently selected filters when i perform create, update or delete operations, I am in desperate need :(
For eg., I have a row with a delete button on it. When I click it, nothing changes, but when i refresh it does change...
Angular 13 & Akita 7
The text was updated successfully, but these errors were encountered: