I want to show my Drupal 10 Solr search results in either grid view or list view. I set this up using Views and Display Modes, and I have icons on the page which simply link to the URLs of the different display modes.
However I am using Facets with my search, and using the above approach requires setting up duplicate Facet Blocks for each display mode. This is inefficient and difficult to maintain.
Is there a more efficient way of re-rendering the same page but with a different set of templates for displaying the search results?