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.

2 Likes

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

Hey! Any update on this?

This would be extremely useful if allowed rendering app embeds as well somehow. Cart drawer apps could hugely benefit from this. Cart drawer apps are forced into app embeds due to their nature, so app embeds should also be considered for this feature.

No updates, but great feedback. I’ll pass that on as well.

Just for clarification for my case I also use app embeds but in the end app embed also being rendered as a app block on the page. So in my case I also need Section rendering api for App embeds not specificly for app blocks.

1 Like