I understand that ArcGIS JS 4.19 was changed to load *all* points from ArcGIS Online FeatureLayers into memory and that in 4.20 that was extended to also include Enterprise FeatureLayers.
We have an Enterprise point FeatureLayer with ~350k points and we'd very much like to prevent that from occurring as it hammers our performance.
Will there be any options to prevent this behavior? Maybe an option to choose whether it should try to load all points or not?
Additionally, we have an issue in 4.21 and/or 4.22 where changing the definitionExpression of a layer does not remove points/clusters from the map when the definitionExpression is more restrictive but I'm not sure if that's a by-product of this issue or not.