Skip to content

[Toolkit] Use the default method instead of render #3206

@philoucoutou

Description

@philoucoutou

Hello,
In the components of the Shadcn kits, I saw the use of the render method.
I'm wondering whether it would be more interesting or not to use the defaults method when possible.

For example, for this template:
https://github.com/symfony/ux/blob/2.x/src/Toolkit/kits/shadcn/pagination/templates/components/Pagination.html.twig

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)Toolkit

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions