Answer the question
In order to leave comments, you need to log in
How to properly add HTML comments when developing with react.js?
There is a need to wrap a certain component (not just a string!!!) in a comment real html comments
<!--googleoff: all--><!--noindex--> <Component /> <!--/noindex--><!--googleon: all-->
<Fragment dangerouslySetInnerHTML={{ html: `<!--googleoff: all--><!--noindex-->` }} />
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question