Skip to content

Add functional components #25

@neriyaco

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.

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