Skip to content

[UX Proposal] Create an Inertia bundle #2857

Open
@YummYume

Description

@YummYume

Hi 👋

After a while of using Symfony UX, I feel like one thing that is currently lacking (compared to Laravel, for example) is a way to render the entire frontend (or at least a good portion of it) with a JS framework. Sure, Symfony UX can already render React, Vue or Svelte components, but it lacks SSR and does not really mix well with the rest of the UX tools.

That's where Inertia.js seems like a suitable solution, and I think Symfony could truly benefit from having an “official” adapter (through Symfony UX) that supports every Inertia features and integrates with the Symfony way of doing things (e.g. form helpers). There's already a community adapter that already exists and does an impressive job at integrating Inertia, but it sadly lacks contributors to make it up to date with Inertia 2.0 and address bugs. It also does not really integrate with Symfony's tools, it's more of a “helper” bundle in my opinion.

What do you all think? It could belong as a UX package and allow Symfony developers to have even more choice on how they handle their frontend. All this bundle would do is give the appropriate handling on the Symfony side to Inertia requests, with no regard for how Inertia is implemented in the frontend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions