Components.js
Components.js copied to clipboard
Allow retrieving multiple components
Currently, instantiateFromUrl allows specifying one componentUrl.
It would be interesting to specify an array and get back a key/value object.
Implementation suggestion: it basically comes down to instantiating a Record<string, any> object; if needed, a dummy class could do:
class DummyRecord {
constructor (record: Record<string, any>) {
return record;
}
}