I have a custom widget which I am using in Experience Builder developer edition (currently at version 1.17). It is based on a sample custom class-based widget that was itself built on the esri Measurement widget. It is fairly complex and uses react state frequently. I just spent the last couple years re-formatting what I had created for Web App builder (with Javascript 3.x) in order to work with the Experience Builder react widget pattern and the Javascript 4.x API. It was a real struggle but it now works well.
However, now I am very dismayed to see that all my work is about to be deprecated and the changes involved in transitioning to the new recommended web component format seem incredibly daunting!
I am really at a loss here as to how to begin to rewrite everything. The examples given for web components are fine, but they don't begin to show how to transition all the functionality of an existing class-based widget.
Where do I begin? Are there better examples anywhere as to how to transition piece by piece? Any help would be appreciated!