Snack runs code that has been commented out?

#1

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

#2

:frowning: Sorry about that. Thanks for reporting!

#3

Hmm, maybe JSX does not support JS comments: http://wesbos.com/react-jsx-comments/

#4

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

closed #5

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