As per discussion with David Ffrench and Enda Phelan, the approach to handling client side updates to the db should ideally involve capturing the dirty state of the view (ie updates to the disabled status, or custom message that have not yet been persisted to the db) as deltas which can then be used update the db. These changes in the redux store might look like:
app: { |
data: {}, |
versionsRows: [], |
unsavedUpdates: [ |
{ |
id: 1.1, |
isDisabled: false, |
customMessage: "Deprecated" |
} |
] |
},
|
|