I have a unique Blaze reactivity issue on Meteor V2.16.
In a template I want to pull in some html that I generate on the fly using a helper.
If I use {{ myHelper }} in the template, the result is simply the Html text displayed verbatim on the page as a text string
<img src="bla.jpg">bla</img> appears
If I use {{{ myHelper }}} in the template, the result is the interpreted html
(the actual image appears)
But that line of html is not reactive, if for example the result of that image changes while the page is being displayed. Is it supposed to be??
But the new image appears if i manually refresh the page.
Any ideas how to make that portion of the html reactive, or any ideas what I may be doing wrong? I am always subscribed to all the images - so I don’t see that that is the issue.
Hello, there is more than one method to do what you want in blaze. First of all, to answer your question, as it will be seen in the code block below, the helper defined for the name template is triggered by a reactive variable to run again at the click time.