Leverage renderless-container for simpler code

Created on 28 July 2025, 3 days ago

Motivation

Try simplifying the render-converter for experience builder by leveraging the renderless-container.

The code was never released, so we can still simplify the API and always container a custom-element. If nothing shall be returned, we could instead return an emtpy renderless-container, which can carry the cache-metadata also. that way we don't need an optional cache-metadata argument for all the methods.

Similar, we can improve the block-content-trait API.
When doing so, we should extend the tests for renderless-container to correctly render into an empty JSON array or empty markup.

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇦🇹Austria fago Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024