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...3 min read·smd.devMay 28, 2025
👋 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...3 min read·smd.devApr 22, 2025
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...4 min read·smd.devDec 31, 2024
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...5 min read·smd.devDec 30, 2024
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}...4 min read·smd.devDec 30, 2024