-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
For instance i have a code like this:
// domains
domainListDetails: {
url: `clients/:clientId/campaigns/:campaignId/domainlists/4/domains`,
options: getDefaultOptions('get'),
}, // store array or results
addDomainToDomainList: {
reducerName: 'domainListDetails',
url: `clients/:clientId/campaigns/:campaignId/domainlists/4/domains`,
options: getDefaultOptions('post'),
}, // this will overwrite array in store by one updated result
but when i dispatch addDomainToDomainList the API returned one updated result which passed to store and just overwrite list already stored inside.
How can i implement update one element in the list?
Metadata
Metadata
Assignees
Labels
No labels