---
title: "Discussion on \"React Basics to Advanced\" | Hashnode"
description: "Discussion on \"React Basics to Advanced\". 1. First Component\nComponents are like functions that return HTML elements.\n\nimport reactDom from 'react-dom';\n\nfunction Greeting(){\n  return <h4>Hello</h4>;\n}\n\nreactDom.render(<Greeting/>, document.getElementById('root')\n);\n2. JSX Basics\nJSX convert..."
url: "https://hashnode.com/posts/react-basics-to-advanced/620b1d7fdcdf3321c2e03528"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React Basics to Advanced](https://calebjsmithio.hashnode.dev/react-basics-to-advanced?utm_source=hashnode&utm_medium=feed)

1\. First Component Components are like functions that return HTML elements. import reactDom from 'react-dom'; function Greeting(){ return <h4>Hello</h4>; } reactDom.render(<Greeting/>, document.getElementById('root') ); 2. JSX Basics JSX convert...

Feb 15, 2022 · 4 min read · calebjsmithio.hashnode.dev  
Updated Mar 22, 2022  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Caleb Smith](https://hashnode.com/@calebjsmithio)

@calebjsmithio · Sydney, Aus

  
[View profile](https://hashnode.com/@calebjsmithio)

How to learn JS + React Fast!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
