Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.08 KB

hello_world.md

File metadata and controls

46 lines (26 loc) · 1.08 KB

Hello World (v-32)

Git Example

import ReactDOM from 'react-dom';

import './index.css';
import App from './App';

//Note 1
ReactDOM.render(<App />, document.getElementById('root'));
function App() {
  return (
    <div>
      <h2>Let's get started!</h2>
    </div>
  );
}

export default App;

JSX (Javascript XML)

JSX is a code which is used into component for build HTML

Component

The component is just a JS Function