Skip to content

Add functional components #25

Description

@neriyaco

The only thing that doesn't really work when using functions as components is the children.

We can fix this by creating a decorator to mark a function as component then do some stuff to make children work as expected. Of course, we need to check if *args or children are present.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions