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

Functional components in metal.js #105

Closed
AngeloYoun opened this issue May 3, 2016 · 2 comments
Closed

Functional components in metal.js #105

AngeloYoun opened this issue May 3, 2016 · 2 comments
Assignees

Comments

@AngeloYoun
Copy link

React has functional components which don't have lifecycle methods. It is not a critical feature but it does help make the code more readable and react is planning to do interesting things in the future with this feature. It might make sense for metal to also have an equivalent.

@mairatma mairatma self-assigned this May 3, 2016
@mairatma
Copy link
Contributor

mairatma commented May 3, 2016

Thanks a lot for the suggestion, I agree that this would be really good to have. And it shouldn't be hard to do it, so I'll try to work on it soon.

@mairatma
Copy link
Contributor

mairatma commented May 9, 2016

This feature was added through mairatma/metal-incremental-dom#3. You just need to update your dependencies to use it :)

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

No branches or pull requests

2 participants