Feature Request: Enable Section Rendering API Support for App Blocks/Theme App Extensions

I’d like to propose a feature enhancement for the Section Rendering API that would significantly improve the developer experience for app developers working with theme app extensions.

Current Limitation: The Section Rendering API currently only supports rendering theme sections from the /sections directory. While it can render sections containing app blocks that have been added via the theme customizer, there’s no way to directly render app blocks or theme app extension content in isolation.

Proposed Feature: Extend the Section Rendering API to support rendering app blocks and theme app extensions directly. This could work similarly to the existing API:

GET /?section_id=<app-block-id>
// or
GET /?app_block_id=<app-block-id>

Use case:
Currently, I am requesting full page content, and it would be much more efficient if I simply made a request to only my app block content.

1 Like

Thanks for sharing that @farid . Looking at your use case, this seems really useful. I’ve passed that on to our product teams for you. :memo:

Thanks @KyleG-Shopify, I am happy to provide more details if the theme needs it. Especially to support 2048 variants, this will be very important for the performance.

1 Like