Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 22
    6 upvotes for an answer that doesn't even provide a solution for the problem posed?! This is just how to put comments in your component code, but (like me) the OP wants to output comments into his rendered html ! Commented Apr 11, 2018 at 13:50
  • This will not render the comments into html comments <!-- comment -->. They won't even come out in minified source since a transpiler will take them out Commented May 1, 2019 at 14:38