Our team is updating one of our React apps that uses the ArcGIS JavaScript Maps SDK. We are switching from the esriLoader pattern to @ArcGIS/core. We saw that it is "recommended" to use the React Wrapped Components that are available recently and I have been exploring that.
Looking into it though, all the examples (ex1) I see show pretty basic apps. A map with a couple of widgets in them.
For us we have very customized styling, location and placement of ESRI tools and widgets. We also have custom built React components that use the SDK modules within them (for example our own basemap tools).
Is it possible to mix these two approaches? From a brief look I don't see a way for example to get a reference to the raw map or view from these web components so that I can manipulate it directly or pass it around in state to different components. In vanilla web components I see this pen for example which allows getting access to the view, map instance. However there is no equivalent for the React-based ones.
I also don't see a way to for example really control the placement/UX of the standard ESRI widgets within an app this way, besides just sticking them in the four corners of the view.
Has anyone any guidance on this and/or are there any code pens or examples that I am missing or should look into? Thanks!