Skip to main content

Posts

Showing posts with the label React

⚛️ React Day 1 — From Java to JSX( JavaScript XML) My First Frontend App Setup!

⚛️ React Journey Day 1: From Zero to Hello World (With Java Dev Mindset) Hey folks! 👋 Welcome to Day 1 of my Full Stack Journey — and today, we officially begin learning React , from scratch, as a backend developer! 🚀 Why Do We Need Node.js and npm to Run React? If you’re from a Java background like me, think of this: Concept Java React Language Java JavaScript (JSX) Runtime JRE / JDK Node.js Build Tool Maven / Gradle npm (Node Package Manager) Node.js allows JavaScript to run outside the browser. React apps use Node to: Compile JSX into plain JS Run local development servers Install libraries (just like Maven dependencies) npm is like Maven — it downloads, installs, and manages your frontend packages and scripts. 🔧 What is Vite? And Why Do We Use It? Vite is a modern build tool that gives us: Instant startup Faster hot reload Simple setup It's li...