Hey,
I've been developing mapping web sites since ArcIMS but I'm brand new to Experience Builder and am beginning to learn the custom widget workflow. I'm also new to ES6 and React, etc. I see that there are two methods for creating the widgets; as a class and as a function. In the documentation they have the attributes of both methods but I don't see any recommendations for which should be used. The only comment I see is that most of the samples use the class method.
What are the pluses and minuses of each method (class and function)?
Which is simplest to learn?