I have a large json document that I subscribe to in the template.created. I used the json object to pick data to different parts in the template throw helpers. For example I have a helper ”heading” and ”period” and ”result” and so on.
If a do a ”findOne” and store the result in a var in each helper will it be to much data. In this example. Are 3 helpers 3 json in memory or will the data be ”garbage collected, or something” when the result is put in the html. I know that I just can find some fields in the document and not the whole document but I am wondering about the memory issue.
Or should I store the whole json object in a ReactiveVar at the creating phase and then pick data from this var in the helpers.
Hope you understand my question, thanks for any info.