Symfony Live Components

Created on 6 April 2025, 12 days ago

Why Symfony Live Components

Symfony Live Components are an extremely powerful yet incredibly simple way to establish communication between front and backend and create 'react like' interaction without the overhead of another programming language like React or having to go decoupled.

  • Symfony Live Components are in keep with Drupal, they use twig and PHP and Symfony.
  • They are as fast (or faster) than any react component.
  • I have yet to come across things you can build with React and cannot build with Symfony Live Components

Key features of Symfony Live components are:

  • Execute PHP methods (#[LiveAction]) triggered from the frontend.
  • Data binding (#[LiveProp])
  • Emitting events from front to back and vice versa.

I think Symfony Live Components should be considered as the way forward to modernize Drupal UX and UI.

Problems to solve

Symfony Live Components require webpack / encore and seems to be incompatible with the JS dependencies in Drupal. At least I haven't found a way to integrate Symfony Live Components in Drupal.

Proposed resolution

First find a way to make it possible to use Symfony Live Components in Drupal.

✨ Feature request
Status

Active

Version

11.1 πŸ”₯

Component

other

Created by

πŸ‡ͺπŸ‡ΈSpain nuez Madrid, Spain

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

Comments & Activities

Production build 0.71.5 2024