Building a Portfolio Website from Scratch Using React - Part 2

Tagged with : React

Written on August 8, 2017

Today, we will be setting up our basic react setup. Lets create our first file

We need to include the react and react-dom libraries, JSX is optional in react and it requires builds and babel to compile it. I don’t want to use node, npm and webpack in this tutorial. To keep it simple and at its best, we will be using plain ES6 Javascript. For more info , visit React Without JSX.

So, lets get started :

Create a new file app.js in the directory ‘js/app.js’

Now fire up the index.html in the browser to see the “Hello World” displayed using react.