Solved. Wow it was a silly happening.
- Main reason
Going back to the very basic, I found everything was just ok:
(Template.body.helpers({
tasks: [ { text: ‘This is task 1’ }, .. )
Problem was misusing “&& ” in helpers():
return Tasks.find({}, { sort: { createdAt: -1 } }) && ;
The intention was to avoid null return(|| ), but I did silly mistake.
( This was because in a rash moment, I misunderstood this:
=> return aUser && aUser.name;
)
- Summary
- a mistake in helpers()
- to make sure using this.subscribe(..); (when to use Template.subscriptionsReady)