I'm not sure what the best phrase in SWE is to describe such a problem, but I have come across a challenge recently on a few projects.
I am using leaflet to show a choropleth map of multiple locations. I also have a single trendline ggplot with a selectInput filtering the plot to one of said locations. When I click on an area on the map the selectInput is updated. But here's where the "circular" or two-way reactivity part comes in, I also want the map to "flyTo()" a location when I change the selectInput.
Implementing this causes issues of "double" reaction.
I can provide a reprex if needed but I feel this is a common problem outside of this literal example. Thanks in advance