Hi all,
I am using react-template-helper to render some react component (actually only trying HelloWorld) to show inside a div:
import React, { Component } from ‘react’;
import { Template } from ‘meteor/templating’;
HelloWorld = React.createClass({
render() {
return (
Hello World!
);
},
});
Template.contactList.helpers({
…
HelloWorld: function() {
return HelloWorld;
}
…
{{> React component=HelloWorld}}
Why is it giving me a
Error: In template “contactList”, call to {{> React ... }}
missing component
argument.
at . (react-template-helper.js:23)
at view.js:199
all the time?
Doesn’t it support v15 of react?
thx for your support!