Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Mine doesn’t work very well in JSX blocks. Partly because I don’t think there is any way to insert a comment inside a JSX tag (to comment out an attribute).


It is possible:

<Button

  // id=“commented-out”

  onClick={doSomething}
/>




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

Search: