Skip to content

Use function components more extensively in documentation examples #71

@volfpeter

Description

@volfpeter

They would simplify the code.

Context: in the early versions of htmy, function components weren't flexible or performant enough, but they have been fully reimplemented since then, and they also support more use-cases now (for example methods can also be components now). Implementing the htmy() method on a class is primarily recommended for enhancing existing business objects with rendering capabilities (although @component.method and @component.context_only_method is a good alternative for this as well).

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions