Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing functions as children #1

Closed
mairatma opened this issue Jul 5, 2016 · 1 comment
Closed

Allow passing functions as children #1

mairatma opened this issue Jul 5, 2016 · 1 comment

Comments

@mairatma
Copy link
Owner

mairatma commented Jul 5, 2016

From @mairatma on June 6, 2016 18:36

For example:

<Something>{ param => <span>{ param }</span> }</Something>

These shouldn't really run when rendering children, they're just there in case the component receiving it gets it directly from this.config.children.

This is specially useful when using third party react libraries that expect this api, and it won't be much code to support, so it's worth adding it.

Copied from original issue: mairatma/metal-jsx#9

@mairatma
Copy link
Owner Author

This issue was moved to metal/metal.js#135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant