Thanks @Yoni-Shopify, much appreciated!
One more thing that would fit the same request: supporting partials wherever the Section Rendering API is supported today, not only with section_id on pages:
- Cart AJAX API:
partialsandpartials_urlparameters, mirroringsectionsandsections_url, on/cart/add.js,/cart/change.js,/cart/update.jsand/cart/clear.js. Bundled section rendering returns the updated HTML in the mutation response (1 request); with partials we’d currently need a second request, so we keep using sections for the cart.partials_urlmatters even more thansections_url, since a partial is a fragment of a specific page render (e.g. cart lines from/cart, an upsell from the product page). - Predictive Search API:
partialson/search/suggest, assection_idis today.
This would let themes drop the “technical” sections that only exist to be fetched via AJAX (cart drawer, predictive search results, upsells…) and render fragments of the real templates instead.