frontend-bootcamp icon indicating copy to clipboard operation
frontend-bootcamp copied to clipboard

CodePen for live site 1-4 demo does not render JSX

Open schellingerhout opened this issue 5 years ago • 2 comments

Running

https://microsoft.github.io/frontend-bootcamp/step1-04/demo/

in Edge, Chrome and Firefox shows that the JSX is not rendered. Consider

<pre data-lang="babel">

or

<pre data-lang="typescript">

to load the appropriate pre-processor in codepen, or replace the JSX with React.createElement("div", null, "Hello World") to work with JS directly

schellingerhout avatar Jun 15 '20 00:06 schellingerhout

wow, interesting. i'm sure it work in the past. Curious what codepen did. Oh well, I'll look into a fix. Happy to take a PR as well if you get to it first.

micahgodbolt avatar Jun 18 '20 04:06 micahgodbolt

i could implement it

Anmolreshi avatar Jul 28 '20 15:07 Anmolreshi