The Experience Builder online documentation needs badly a update on all pages to reflect the changes that come with ArcGIS ExB 1.19, ReactJS 19 and Node JS 22.
For example, the ExB starter widget as instructed here, it cannot be implemented as described because you will get a webpack error due to incompatibility with the newer version of Node.js.
In the newer versions of React JS., only function based components are used, but sadly most of the ESRI ExB documentation still refer to the class based components.
@Jianxia ?
Following the directions on the Starter Widget, I was able to make it in ExB 1.19 with Node 22.16.
With that said, @Jianxia, we are at a point where better documentation is more important to Experience Builder than new features.
You are correct. I was making a novice error on the directions of the starter widget.