Now Playing – React/JSX Sample Code


So I was checking out some React sites, actually I was looking for good React tutorials for a friend and I came across a blog with embedded React code samples. I thought it was a really cool idea and wanted to start including some in my posts as well. The original site was using JS Bin¬†but unfortunately, to use JS Bin over https required a pro account and I wasn’t ready to make that investment. So while I like JS Bin visually more than JSFiddle, I decided to use JSFiddle¬†instead since they support https for free. And to be clear, JSFiddle is definitely acceptable and provides everything I need. So, here is the default “Hello World” for React. You can view the code and you can see the result by clicking on the corresponding tab. This will hopefully be the first of many code samples I’ll post.