I've been learning the proper techniques for using the ViewModel and View with the render method to build custom widget using 4.x api. My question is, "What is the proper technique for using a widget (ie. Coordinate Conversion) within the View of my custom widget?" The Coordinate Conversion Widget has its own render method and View. I would like to instantiate it within my View Mode to access its properties as the user interacts.
It seems like this would be a common practice but I have not found any guides on using widgets within a widget. My goal is to be able to access to the properties of the Coordinate Conversion ViewModel in my custom widget.
The jsx online resources are very basic and the render method is used to basically render html strings right? How does another widget then get rendered. Do I need to pass the container html string to the render method?
Thanks and sorry for the confusing question.