Proposing adding support for a function that will allow a plugin to add/override methods without having to use a long extends chain.
It could look something like this:
ajax.js
export default class Ajax {
get(url, data) {
//...
}
post(url, data) {
//...
}
}
app.js
import Ajax from './Plugins/ajax.js';
Domodule.registerPlugin(Ajax);
Not sure how we'd handle constructors though.
You think this would be helpful?
Proposing adding support for a function that will allow a plugin to add/override methods without having to use a long extends chain.
It could look something like this:
ajax.js
app.js
Not sure how we'd handle constructors though.
You think this would be helpful?