天天看點

[NgRX] Update record in NgRX

Define an action to update the record:

It is using 'Update' type from NgRX.

Dispatch an action:

For 'Update' type we need to give 'id' & 'changes' props

IT

繼續閱讀