Snack seems to take code that’s been commented out using single-line or multi-line comments and run it anyway:
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.