解決ãããã㨠React åå¿è ãªã®ã§ãJSX ã³ã¼ãå 㧠HTML ã«ã¬ã³ããªã³ã°ãããããªãé¨åãã³ã¡ã³ãã¢ã¦ãããæ¹æ³ãããããªãã æ¹æ³ {/* ... */} ã¾ã㯠{// ...} ã¨ããæ§æã§ã³ã¡ã³ãã¢ã¦ãã§ããã ä¾ var Header = React.createClass({ displayName: 'Header', render: function () { return ( <div> {// <h1>wasshoi</h1> } <nav> <ul className="header--nav"> <li> <a href="#">hoge</a> </li> {/* <li> <a href="#">fuga</a> </li> */} </ul> </nav> </div> ); } });
{{#tags}}- {{label}}
{{/tags}}