() implicity returns components.index.js is to render your application.root comes from a div in the body of your public html file.render() method to return JSX.Class is className in React.Number.parseInt("123")Use ternary operator if you want to make a conditional inside a fragment.
Purpose of React.Fragment is to allow you to create groups of children without adding an extra dom element.