Replies: 4 comments 2 replies
-
|
Do you mean something like: store.events.subscribe(e => { |
Beta Was this translation helpful? Give feedback.
-
|
Yes, but possibly with additional Entity IDs that were affected. |
Beta Was this translation helpful? Give feedback.
-
|
@Ketec released in https://ngneat.github.io/elf/docs/miscellaneous/entity-events. Make sure you update also the store to v2.5.0 |
Beta Was this translation helpful? Give feedback.
-
|
Thank You. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any built-in way to get the action that was made on a Entity?
If you have a collection of 10000, you update one add or delete.
Right now you can subscribe to store to listen for changes - but you have no idea what changed or happened.
Like
store.update(deleteEntities(uuid))orstore.update(updateEntities(uuid, res)).So you can do something only with the changes and ignore processing the rest of the collection.
Beta Was this translation helpful? Give feedback.
All reactions