Skip to content

PRO TIP Block youtube.com at the DNS level โ€” Pi-hole, NextDNS or your hosts file โ€” but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

React JSX , Babel, React Components & Props Explained from Scratch | ReactJS Full Course #2

42.3K views on YouTube

Learn React the RIGHT way – no memorization, just pure understanding!

In this video, we dive deep into React fundamentals using a first-principles approach. Instead of just showing you “how” to write code, we explain “why” things work the way they do.

๐Ÿ”ฅ What You’ll Learn in This Video:

โœ… JSX – What It Actually Is
โ€ข JSX is NOT HTML – proof with real examples
โ€ข Why className instead of class
โ€ข Why style is an object, not a string
โ€ข Self-closing tags requirement
โ€ข JavaScript expressions inside {}

โœ… Babel – The Transpiler
โ€ข What is Babel and why we need it
โ€ข Transpiler vs Compiler – the difference
โ€ข How type=”text/babel” works
โ€ข Runtime vs Build-time transformation

โœ… JSX Expressions – The Complete Picture
โ€ข What can go inside {} and WHY
โ€ข Strings, Numbers, Arrays – what renders
โ€ข Booleans, null, undefined – why they don’t render
โ€ข Objects – why they throw errors
โ€ข Functions returning JSX

โœ… React Components
โ€ข Component = Function that returns JSX
โ€ข Why capital letter is REQUIRED (not just convention)
โ€ข How React.createElement handles components vs DOM elements
โ€ข Component composition – components inside components

โœ… Props – Passing Data to Components
โ€ข Props as function parameters
โ€ข Different data types in props (string, number, boolean, array, object, function)
โ€ข Props are read-only – why?
โ€ข Destructuring props
โ€ข The children prop

โœ… The Complete Flow
โ€ข JSX โ†’ React.createElement() โ†’ React Element (Virtual DOM) โ†’ Real DOM
โ€ข Who does what: Babel vs React vs ReactDOM
โ€ข Recursive resolution of components

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ’ก Why This Tutorial Is Different:

Most tutorials tell you WHAT to do. This tutorial explains WHY.

– Why does JSX need Babel?
– Why can’t objects be rendered in JSX?
– Why do component names start with capital letters?
– Why is style an object and not a string?

If you want to truly understand React (not just copy-paste code), this video is for you.

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐ŸŽฏ Who Is This For:

– Beginners starting their React journey
– Developers who know React syntax but don’t understand the “why”
– Anyone tired of memorizing rules without understanding them
– Students preparing for frontend interviews

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
#react #reactjs #jsx #babel #javascript #webdevelopment #frontend #programming #reacttutorial #reactcomponents #props #webdev #coding #frontenddevelopment #learnreact #reactforbeginners #javascripttutorial #webdeveloper #softwaredevelopment #hindi

Visit Strike: https://strikes.in/
Class start from 1 december
Visit Coder Army Website: https://coderarmy.in/#home

Course start date: 1 september
Timing: 6pm (Mon-fri)
Hackathon will be organised after course completion
Join Premium Whatsapp Group: https://whatsapp.com/channel/0029Va6H0tbHVvTbcuT99Y1f
Class Notes : https://www.notion.so/Lecture-02-JSX-Babel-props-and-React-Component-2b13a78e0e22804797a1ef605cb2d3fb?source=copy_link
Code Link: https://github.com/coderarmy-notes/mern-stack-course
Twitter: https://x.com/rohit_negi9?s=21
Channel: โ€ช@CoderArmy9โ€ฌ

Buy Our Premium Course of Web dev+Blockchain+HLD+DSA: https://rohittnegi.akamai.net.in/new-courses/4-web-development-block-chain (5500 only)

Time Stamp:

#javascript #webdevelopment #mernstack