2 ms·
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).
by nicoburns 4y ago
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).
- ncphillips 4y agoIt is possible: <Button // id=“commented-out” onClick={doSomething} />