if you open the pen settings in codepen, go to the JavaScript section, you can use babel as preprocessor and import react there, that will let you write react code in the JavaScript box of the pen and it will be rendered
if you then have the script with the link to the test suite, you can test your project in the pen
In my case I have multiple JS files, in codepex how can I write all of them in single file ?
Can you please point me to some existing project to understand better ?
the pens in codepen offer only that, but you don’t need to use codepen, you can deploy your peoject somewhere, and submit the live version or your project whatever servive you have used
sorry my bad, I had removed earlier code of react and playing around with jQuery. Now I’ve put back the code. Please recheck, also I’ve added settings with fb libraries which were missing earlier.
But I’m not sure how to use npm run in codepen to make this work just like VSCode. Let me try other platforms as well