Hey there,
I am trying to generate html with spacebars inside that and i am getting this ![]()

This is my way of adding html :
I just want that {{state โx.yโ}} to be rendered as handlebars not text.
Any idea would be great. Thanks for your time.
Hey there,
I am trying to generate html with spacebars inside that and i am getting this ![]()

This is my way of adding html :
I just want that {{state โx.yโ}} to be rendered as handlebars not text.
Any idea would be great. Thanks for your time.
Spacebars / handlebars html needs to be compiled. Itโs not dynamic. You need to have your html already including all the spacebars instructions in it. Please look at the guide as you donโt need to dynamically alter the DOM (HTML). Look for leveluptuts on youtube and follow his Meteor tutorials.
Can u be more specific ? Maybe some example, based on my code ?
Ok, here it is again. Create your template HTML in advance. Not with JS.
So your HTML that you shared as an image, is fine. Generate it like this:
``
{{#each item in items}}
I was just wondering way around that. Making it from js like in react. Thanks anyway, that was helpful.