Posts

Showing posts from June, 2024

ReactJS

Image
 Introduction : What is ReactJS? 1. ReactJS is a  JavaScript  library used to build UI.  2. Its main focus is on UI.  3. It follows component based architecture like header, footer, main content, side nav. 4. DOM updates are handle gracefully in react 5. Component based manage their own state then compose them to make complex UIs. 6. use ES6 - ES6, also known as ECMAScript 2015. ES6 is a major update to JavaScript that includes new syntax and features aimed at making the language more powerful and easier to use. Arrow Functions : Concise syntax for writing functions. Classes : Syntax for creating objects and inheritance. Modules : Import and export statements for modular code. history : Initial Release to the Public (V0.3.0) was in July 2013. Created and Maintained by facebook. Facebook Software Engineer, Jordan Walke, created it. What we need : Variables and Scope : Understanding how variables are declared (using var , let , const ) and their scope (g...