Remove the view-snap component in favor of concrete classes in the views-view-unformatted template
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3541438. --> Reported by: [phenaproxima](https://www.drupal.org/user/205645) Related to !14 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The view-snap component is a shim to add some wrapping classes around the rows rendered by a view. The problem is, it takes a string for its `rows` prop, but Views probably isn't passing it a string. Nothing is ever easy when Views is around.</p> <p>This has the unfortunate effect of completely breaking Experience Builder when you are trying to use or render a view.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>This component shouldn't have to exist. We should replace it with the same set of wrappers in the generic views-view-unformatted.html.twig template. But we only want it to happen if there's a particular tag on the view to opt-in to the display behavior this affords us (let's say we have a preprocess function that adds a `snap` flag if that tag exists on the view, which then influences the display of the template).</p>
issue