I would like to pass complex objects to a pluggable widget. These could be:
- Lists (of entities, attributes or primitives)
Currently my only choice for passing entities is to either:
- Pass each entity attribute individually
- Pass the entity GUID and use the mx client within componentDidMount/componentDidUpdate (or useEffect hook)
Similarly for lists, I can only really use the mx client to fetch the data explicitly within the widget.