Skip to main content

Create CRUD Action

createCRUDAction extend with createAction without restore and delay methods, more info about ActionSettings see here

updateKey#

TypeDefaultRequiredDescription
String-NoThe key by which the data will be updated

apiCalls#

TypeDefaultRequiredDescription
APICalls-YesApi calls Object (get, create, update, delete )
createCRUDAction({  //... other props  apiCalls: {    get: getApiCall,    create: createApiCall,    update: updateApiCall,    delete: deleteApiCall,  },}) 

Methods#