-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I like initial ideas of components based Blaze2 and what Blaze Components try to do. React may be much better platform to that that Blaze. I understand that fist of all you wanted to make people more easy way of moving they apps into react so you wanted to be as stict with Blaze API as possible. Have you any plans to add components support into sideburns?
I'd like to have code like this:
<template name="Page">
<div class="page">
<ul>
{{#each person in people}}
<li onClick={{this.clickEvent}}>Hello {{person.name}}</li>
{{/each}}
</ul>
</div>
</template>
class Page extends React.Component {
mixins: [ReactMeteorData],
getMeteorData() {
return {
people() {
return People.find();
}
}
},
clickEvent() {
console.log('Hello world');
},
render() { return Template.Page }
}Is it possible in any way?
Metadata
Metadata
Assignees
Labels
No labels