AnsweredAssumed Answered

Do I need to require dojo/domReady! in Web AppBuilder widgets?

Question asked by mrubelmann on Oct 7, 2015
Latest reply on Oct 9, 2015 by mrubelmann

This is sort of a cross-post of this Stack Overflow question, but I'd like to see if anyone has any Esri-centric thoughts on it.  I'm confused about whether or not I need to require dojo/domReady! anywhere within a custom widget.  Given that Web AppBuilder will have set up the DOM before my widget is loaded, my guess is it will always just return immediately, but I could be overlooking something.  Someone on SO suggested that calling ready() instead of requiring the dojo/domReady! plugin might be the correct thing to do.  Does anyone know what the best approach is for Web AppBuilder widgets?

Outcomes