react fundamentals -jsxWhat is jsx ? JSX stands for JavaScript XML. It's an extension of the JavaScript language based on ES6. It's translated into regular JavaScript at runtime. JSX allows us to write HTML in React which makes the process of writing HTML in your React app...May 28, 2025 · 3 min readsmd.dev
👋 Simple React Login App using Context APIThis is a simple React app that lets a user "log in" and see their profile info using React Context API.There’s no backend — it’s all in the browser (just for learning purposes). 🧠What’s Happening in This App? We have 3 main parts: Login Form – w...Apr 22, 2025 · 3 min readsmd.dev
TO understand the Virtual Dom.Doucmention of vitural DOM vitrual dom reffernces link Virtual DOM, Fiber, and Reconciliation In modern JavaScript frameworks, such as React, concepts like the Virtual DOM, Fiber, and Reconciliation are essential for optimizing updates to the user in...Dec 31, 2024 · 4 min readsmd.dev
Understanding the Code: Making an API Call with XMLHttpRequestThis blog post will walk you through an example of how to make an API call using JavaScript’s XMLHttpRequest (XHR) object and track its different states. What is XMLHttpRequest? The XMLHttpRequest object is a built-in JavaScript object used to send a...Dec 30, 2024 · 5 min readsmd.dev
react hooksso in app.jsx file we use {} inside the return statment of the function the indicates the value of the variable decleared outside.eg:counter function App() { let counter=15; return ( <> <h1>chai aur react</h1> <h2>counter:{counter}...Dec 30, 2024 · 4 min readsmd.dev