React JSX , Babel, React Components & Props Explained from Scratch | ReactJS Full Course #2
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
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.