On my app I have a MapView with a FeatureLayer, sometimes a feature is added to that FeatureLayer in the backend as part of a separate user flow and my javascript application receives its id.
The new feature is displayed after I call .refresh() on my FeatureLayer but that forces a full reload of the data which seems like a waste.
So my question is: provided I have an objectId of a feature that was added in the background, how can I make my FeatureLayer/MapView display it in the most optimal way?
When I add a feature using the applyEdits function from the FeatureLayer I notice that a more focused refresh is done (not as many calls as a refresh), so there seems to be a way and I can't find any documentation about it.
Thanks in advance.