Load a Paragraph via Twig?

Created on 26 September 2024, about 2 months ago

Problem/Motivation

We are architecting a Paragraphs-based personalized content feature. HTMX looks promising for loading this content in after the page load for serving expensive content as efficiently as possible.

Ideally we could instruct which Paragraph entity to load within Twig and avoiding PHP like the example in here for blocks https://project.pages.drupalcode.org/htmx/blocks/loading. (It would be also cool to have a Twig-based way to load Blocks!)

Does this exist? If not, is it planned to exist?

Steps to reproduce

n/a

Proposed resolution

n/a

Remaining tasks

n/a

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ’¬ Support request
Status

Active

Version

1.3

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States capellic Austin, Texas

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

Comments & Activities

Production build 0.71.5 2024