You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to render HTML comments, I am using this to render server side templates, and it would be useful to print out html comments so it helps with debugging and getting meta information
The text was updated successfully, but these errors were encountered:
There isn't a Comment syntax for JSX. You can preprocess the Strings array before it reaches htm, and then undo that preprocessing using the tag function you pass. Here's an example that enables only certain comments (IE conditional comments):
Is it possible to render HTML comments, I am using this to render server side templates, and it would be useful to print out html comments so it helps with debugging and getting meta information
The text was updated successfully, but these errors were encountered: