https://apidocs.mendix.com/5/client/lifecycle.html shows examples using dojo.declare. While in basicWidget.js that is downloadable from the Mendix site mendix.widget.declare is used, so my question is? What is the difference where is each of these best used? Which parameters are optionally given to mendix.widget.declare? for example is addons the same as class inheritance inside dojo.declare? Like I really have no idea what each of these parameters does. So I would love it if someone could clarify the differences and usage of dojo.declare / and mendix.widget.declare for me.