@Egge-Jan_Pollé @BlakeTerhune @vijaybadugu As per my experience in migrating from 3.X to 4.X lots of new libraries added and some libraries are deprecated so may required to resolve custome widgtes one by one.
Now my question to @Egge-Jan_Pollé @BlakeTerhune I am using NextJS with latest ArcGIS Core 4.28 and facing performance issue in production enviornment, its taking to much time to loading the library. When i checking chrome inspect --> Network tab showing some files are calling from "https://js.arcgis.com"?
How to resolve this because in production enviornment client is not allowing other third party URLs ?
How to improve the performance?? Can you please please some github link using NexTJS(latest) and ArcGIS Core (Latest) where everything is calling from own server ?
Below arcgis map libraries want to use.
import ArcGISMap from "@arcgis/core/Map";
import MapView from "@arcgis/core/views/MapView";
import Legend from "@arcgis/core/widgets/Legend";
import TileLayer from "@arcgis/core/layers/TileLayer";