All widgets will be removed from the SDK as early as Q1 2027
https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/javascript-maps-sdk-a-full-transition-to-components#:~:text=Once%20a%20component%20in%20the,as%20early%20as%20Q1%202026
Starting from current JS api v4.32, ESRI's transition from widget to component is fundermental structure change.
https://developers.arcgis.com/javascript/latest/components-transition-plan/
Today, the ESRI recommended approach for building web apps with the SDK is to use components, used to be but no longer widget
Whoever are using currently lastest js api v4.32