Troubles setting up React

Troubles setting up React
0

#1

Hello!

I’m learning React and decided to open a codepen to start messing around with it. I have included the React and React-DOM scripts and select babel as a preprocessor. However, I cannot get my code to work. The “Hello World” is not rendering!

Any suggestions?


#2

on your pen settings use the following two cdn
//unpkg.com/react-dom/umd/react-dom.development.js
//unpkg.com/react/umd/react.development.js

it should work then.


#3

I removed the 2 cdn links you had on the javascript section and put those 2 links in replacement. It worked for me.


#4

Worked for me too. Anyone know why the default link codepen provides in the search bar doesn’t work?


#5

No, but it’s the not the first time I’ve had that issue with CodePen.