Snack runs code that has been commented out?

Snack seems to take code that’s been commented out using single-line or multi-line comments and run it anyway:

https://cl.ly/1y3K2A14411o/Screen%20Recording%202018-01-22%20at%2007.00%20PM.gif

:frowning: Sorry about that. Thanks for reporting!

Hmm, maybe JSX does not support JS comments: How to comment in React JSX - Wes Bos

Surprising! Yeah, that’s it: https://snack.expo.io/ryCwP44Hz

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.