Kind of off-topic but: Thumbs up for pointing out i18n. Growing up and have lived in an European country with 4 official languages (plus English) and now living in a North American country with 2 official languages, I highly appreciate that. It should be normal using i18n. There is not only English used on this planet. It's really nice that an American company is considering i18n! Thank you! :)
Great demo thanks! Although wish there was one with using function for components rather than class and show hooks integrated. Seems like everyone moving away from using classes in React?
Thanks for the question. You can find resources for using function components in the documentation: developers.arcgis.com/experience-builder/guide/extend-base-widget/#creating-a-widget-using-a-function-component and developers.arcgis.com/experience-builder/sample-code/widgets/demo-function/ for example.