Hello JSX
Continue learning react using JSX
Published in
1 min readJul 20, 2018
After doing the hello react, next we can try to write html tags directly. For this we need to have babel-standalone library. The library will do the compiling of JSX in the browser.
First I download the babel-standalone. Then put it together with the react libraries.
There are two lines we are changing and one script addition.
There you can see I add the babel in line 9. Then change the script type to bable in line 13. Last the JSX itself in line 16.
Okay. Lets try next things.