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.