Skip to content

Should components define their 'arguments'? #18

Description

@caolan

I like to think of components as functions accepting named arguments (e.g. title="{{ article.title }}"). Should the <template data-tagname="my-template"> tag also require/allow you to define the context it expects to receive?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions