axios-actions
axios-actions copied to clipboard
custom Plugins blocked
Hi guys! I would like to add a custom plugin to the existing plugins. This should work as far i saw from the docs:
// add to global plugins
import { plugins } from 'axios-actions'
plugins.changeCase = changeCase
but exports.plugins is not extandable. Im getting a error message in the browser:
TypeError: Cannot add property changeCase, object is not extensible
looks like, exports.plugins is marked as Readonly.
"axios-actions": "^4.0.2",