Hacker News new | past | comments | ask | show | jobs | submit login

Why would you want HTML embedded into your component? Sounds like a maintenance nightmare.



So better embed the logic into the HTML? :)


Not sure what you mean. I was just implying that it's better to use a separate HTML file for the template and reference it from the component.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: