What is the difference between Lists.find() and Lists.find().fetch()?


The difference is that Lists.find() is reactive
Lists.find().fetch() is not reactive ?

Probably a silly question for someone with meteor experience.


The first one returns a cursor while the second one returns an array. Nothing to do with reactivity.


Would you mind explaining the difference, and use cases? :slight_smile:


Check those links for cursor definition:


so both are reactive ?
when you return a cursor from a template helper,
it behaves like an array.


Yes both are reactive.


Yes, essentially it does act like an array, even though it’s not. Blaze is just smart enough to recognize a cursor and iterate over the elements (documents) it contains, if you’re using an {{#each lists}} ... {{/each}} construct.