i im newer with METEOR and i’ start withmetero todo tutorial with Application Structure and Flowrouter
here is my code structure
the is my router.js
this is list.js (render data)
with template tag (this is list.html file)
with out template tag
this is my package.js
my problem is this array value not return in to list.html . but this working fine if remove templete tag ?? what is happend . this is happen with router or what ???
oops its my mistake need assign template name instead of body . nice article was there
Hi, Off the top of my head you could do as you suspect and stick a meteor method call in Template.templateName.onCreated() The method would make the call to the third party API In the callback of the method you could set a Session/ReactiveVar with the result Template.templateName.onCreated(function() { Meteor.call('thirdPartyAPI', function(error, result) { Session.set('result', result); }); }); Then on the template side you could have: {{#with result}} Content that requ…