If if have a collection of users and a collection of tasks, and each tasks stores a reference to the user ID that is in ‘assigned’ field… Assuming i already have a local safe collection of just user ids and names only…
What is the best practice when listing out the tasks, to reference something like the users first name in their profile instead of their ID inside of a template?
Something like:
<template name="tasks">
Task: {{ taskname }}
Assigned to:
{{#each user}}
{{#if _id value=assigned }}
{{ profile.firstName }}
{/if}}
{{/each}}
</template>