<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lakshika Medhavini on Medium]]></title>
        <description><![CDATA[Stories by Lakshika Medhavini on Medium]]></description>
        <link>https://medium.com/@lakshikamedhavini?source=rss-51b6a164592a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*DRieFjM3WQ_8slIT</url>
            <title>Stories by Lakshika Medhavini on Medium</title>
            <link>https://medium.com/@lakshikamedhavini?source=rss-51b6a164592a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 07:42:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lakshikamedhavini/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Version Control System]]></title>
            <link>https://medium.com/@lakshikamedhavini/version-control-system-ddf9ea285d5c?source=rss-51b6a164592a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddf9ea285d5c</guid>
            <dc:creator><![CDATA[Lakshika Medhavini]]></dc:creator>
            <pubDate>Sun, 15 May 2022 13:05:28 GMT</pubDate>
            <atom:updated>2022-05-15T13:05:28.910Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*8Bnc-IFXLaVHv9xDrLAQEw.png" /></figure><h4>Introduction</h4><p>VCS stands for the version control system, and it is a type of software that assists developers in managing and tracking all changes made to a code with certain information. The code is saved in VCS as distinct versions. As a result, developers do not have to be frightened to make changes to the code because if they make a mistake, they may download the prior version of the code or correct the fault by comparing it to the previous version. VCS facilitates the software development process.</p><p>Version Control System comes in 3 types.</p><ol><li>Local Version Control System</li><li>Centralized Version Control System</li><li>Distributed Version Control System</li></ol><h4>Local Version Control System</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*--uoYaRJSmJMVtbJIWnxMg.png" /></figure><p>This is the most common and basic VCS method. Local VCS is a database that is stored locally on our PC. Every change is saved as a patch in the local VCS. Every patch simply contains changes to the code.<br>The issue with this method is that all patches are recorded in a local database. Everything will be lost when the local database is corrupted. Developers cannot collaborate with one another in this approach.</p><h4>Centralized Version Control System</h4><p>A central server is used in this strategy, which allows different users to access the server’s files. Using a centralized version control system, the difficulty of interacting with other developers has been solved. Users may download a copy of the code to their computers using a centralized version control system, modify it, and then upload the revised copy to the central server. It focuses on synchronization, tracking, and backup. Merging is possible, it is a difficult task.</p><p>The issue with centralized VCS is everything is saved on a single server. If the server goes down, everything is lost, just like local VCS.</p><h4>Distributed Version Control System</h4><p>Multiple repositories are used in distributed version control. Every user has their own repository and working copy. These systems are often independent of a central server. On their hard disk, every developer has a copy of the entire history. The basic goal of a distributed VCS is to exchange code changes with a unique identifier and a message.</p><p><em>DVCS introduced some new technologies.</em><br>1. <strong>push </strong>— modified code can be uploaded to a new repository<br>2. <strong>pull </strong>— download the changes from a repository</p><p>Developers may easily create branches and combine them with DVCS. It’s a standalone application. We should go online whenever we need to post modifications to a remote repository. We can also store our changes in the local repository. Git is the most widely used DVCS.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddf9ea285d5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Cloud Computing?]]></title>
            <link>https://medium.com/@lakshikamedhavini/what-is-cloud-computing-3dafae1679ab?source=rss-51b6a164592a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dafae1679ab</guid>
            <dc:creator><![CDATA[Lakshika Medhavini]]></dc:creator>
            <pubDate>Sun, 15 May 2022 12:47:10 GMT</pubDate>
            <atom:updated>2022-05-15T12:47:10.016Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A3YBtI96SJiSNdGX5RBkiw.jpeg" /></figure><h4>Introduction</h4><p>Cloud computing refers to the storage, access, and use of data and services provided over the internet. People use cloud computing deliberately or unknowingly in today’s technology world. When you send emails, edit papers online, play games online, and so on, you use cloud computing. Cloud computing is becoming increasingly vital and necessary for every industry and individual. Several firms are now attempting to deliver more secure, adaptable, and user-friendly interfaces to their customers by following particular structures and models, such as Amazon Web Service, Microsoft Azure, Google Cloud Platform, and others.</p><h4>Cloud Computing</h4><p>The fundamental benefit of cloud computing is that it allows us to use services without having to install them locally on our computers. So that consumers can save their device’s storage. Also, cloud computing gives other advantages. When employing cloud services, we just have to pay for the services that the consumer actually uses. Pay-as-you-go pricing is the name for this payment mechanism. Users can store their data in cloud storage for higher security, fault tolerance, availability, and scalability than they can on a local device. When consumers wish to build a PC to their exact specifications, cloud computing allows them to do so. By using cloud computing services, we can create virtual machines (VMs).</p><h4>Types Of Cloud Computing</h4><p>Cloud computing is not a single model. It is made up of multiple models, each of which is in charge of performing specific tasks. In cloud computing, there are three primary types of models.</p><ol><li><strong>Infrastructure as a service (Iaas)</strong> makes virtualized computer resources available via the internet. It is the closest to the physical server management. This allows users to save money when purchasing computer resources.</li><li><strong>Paas (Platform as a Service) </strong>is a cloud concept that provides users with a development and deployment environment.</li><li><strong>Software as a service (SaaS)</strong> allows customers to access the software via the internet. Users are not required to install the software locally. This model eliminates the platform barrier.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ELN87SiUZVJp2Rj9Xl7fCA.jpeg" /></figure><p>Apart from that, there are three sorts of clouds.</p><ol><li><strong>Private cloud </strong>— A single corporation or group owns a private cloud. This form of cloud is housed in a datacenter that belongs to the company.</li><li><strong>Public cloud</strong> — In this sort of cloud, third-party cloud service providers such as Azure and AWS own all of the cloud resources. All of the services are available through the public internet, which anyone can purchase and use.</li><li><strong>Hybrid cloud —</strong> combines the benefits of both public and private clouds. All sensitive data, such as usernames and passwords, can be saved in a private cloud, while other application data can be hosted in the public cloud.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7k9cxqP9TbEDMaZQ5AFmXg.jpeg" /></figure><p>This is a simple introduction to cloud computing. I hope you understood well. Thank You!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3dafae1679ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s Talk About Node JS]]></title>
            <link>https://medium.com/@lakshikamedhavini/lets-talk-about-node-js-d7119a31f122?source=rss-51b6a164592a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7119a31f122</guid>
            <dc:creator><![CDATA[Lakshika Medhavini]]></dc:creator>
            <pubDate>Sun, 15 May 2022 11:55:19 GMT</pubDate>
            <atom:updated>2022-05-15T11:55:43.835Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FEGyIQHj9h2TotVUZouKnQ.png" /></figure><h4>Introduction</h4><p>Node JS is an open-source and cross-platform JavaScript runtime environment that may leverage back-end services where JavaScript works on the server-side of an application, meaning outside of the browser. It is highly scalable, lightweight, and data demanding. Ryan Dhal created it in 2009.</p><h4>Architecture</h4><p>Node.js has a single thread, capable of handling thousands of events simultaneously. That’s why Node.js is most preferred for creating data-incentive applications. The below graphic represents some essential parts of Node.js</p><p>JavaScript was run through browser code, before 2009. Ryan Dhal came up with an excellent idea in 2009. He thought that executing JavaScript outside of the browser would be fantastic. So he grabbed the quickest Chrome V8 engine and placed it in C++ software, which he named Node.</p><h4>Advantages</h4><ol><li>Easy to learn</li><li>Supported widely by Google Chrome</li><li>Node.js offers easy scalability</li><li>High Performance</li><li>Single Programming Language</li><li>Large and Active Community</li><li>Handles Requests Simultaneously</li><li>Support for commonly Used tools</li><li>The consistent and cleaner code base</li><li>Suitable for agile development and prototyping</li></ol><h4>Disadvantages</h4><ol><li>It’s not good for heavy computing jobs</li><li>It’s sometimes a bit harder to handle promises and callbacks</li><li>Harder to integrate some libraries because of the lack of better support for libraries.</li></ol><h4>Usage</h4><p>Node JS is also being used by some large corporations to power their applications. As a result, it’s clear that Node JS is a powerful backend platform, as some of the world’s largest software companies use it without trouble.</p><p>When constructing real-time apps, and data streaming applications, IoT applications, there are popular applications that have used the backend with Node JS.</p><p>Eg: Uber, PayPal, Netflix, Walmart</p><p>The runtime environment for JavaScript code is similar to the browser node. It includes the JavaScript engine, which allows you to run JavaScript code. However, it contains an object that offers an environment for JavaScript code, which is distinct from the environment object found in browsers. In NodeJS, for example, we don’t have the document object; instead, we have other objects that have more interesting capabilities, such as working with file systems and listening for requests.</p><h4>Conclusion</h4><p>In this article, I have written a simple introduction to Node JS. Later, I hope to give a brief knowledge about how to use Node JS for CRUD operations.</p><p>Thank You!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7119a31f122" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is JavaScript ES6?]]></title>
            <link>https://medium.com/@lakshikamedhavini/what-is-javascript-es6-fb73c4e09038?source=rss-51b6a164592a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb73c4e09038</guid>
            <dc:creator><![CDATA[Lakshika Medhavini]]></dc:creator>
            <pubDate>Thu, 17 Mar 2022 03:24:41 GMT</pubDate>
            <atom:updated>2022-03-17T03:24:41.115Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fITbioHSIytMe_7K_CXenw.jpeg" /></figure><p>ECMAScript 2015 is known as ES6. ECMAScript is introduced in 2015. It is a update to JavaScript. JavaScript programming language uses ECMAScript as the standard. Specification on ‘work with JavaScript programming language’ is given by ECMAScript. ES6 new features make the code easier to read (readable) and understandable.</p><p>In this article, I’m going to give a brief description about commonly used features of ES6.</p><ol><li>let and const keywords</li><li>Arrow functions</li><li>Classes and subclasses</li><li>Modules</li><li>Iterators</li><li>Promises</li><li>Array and Object destructing</li><li>Rest Parameter</li><li>Spread Operator</li></ol><h4>01. let And const keywords</h4><p>For declaring variables, earlier javaScript used the keyword called ‘var’. When comparing to ‘var’, ‘const’ is powerful that ‘var’. When once used ‘const’, it cannot be reassigned. It is called as ‘immutable variable’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*sIULpx4vqnqG0AJbT1CVkQ.png" /><figcaption>const cannot be reassigned</figcaption></figure><p>When we declared a const variable, it must be assign a value to it. It cannot be assigned values after declared. At the same time it should be declared and assigned values to it. Otherwise it will gives an error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*2-4atWSqFk06qXEVGHcong.png" /></figure><p>‘let’ can be reassigned. It is called as ‘mutable variable’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*59-VaE3g-KjQjFEiBNZt4g.png" /><figcaption>let can be reassigned</figcaption></figure><p>let and const both are blocked-scope. (blocked scope means, the values of variables are available within the scope only)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*SLQlL5ZTHlhiSS9KPsyUfw.png" /></figure><p>There are a few key things to know when we talk about let and const.</p><ol><li>Variables defined with ‘let’ and ‘const’ cannot be re declared.</li><li>Before use ‘let’ and ‘const’ must be declared.</li><li>‘const’ cannot be reassigned, but ‘let’ can be reassigned.</li><li>Both of ‘const’ and ‘let’ have block scope.</li></ol><h4>02. Arrow Function</h4><p>When we are writing functional expressions, arrow functions allows a short syntax without using ‘function’ and ‘return’ keywords, and curly brackets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*TifBwt0-r9AINbRvmUU0bQ.png" /></figure><p>Arrow functions must define before they are used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GlVhd4X5vAoKa97Z84ik9w.png" /></figure><h4>03. Classes and Subclasses</h4><p>Classes were not be in the earlier JavaScript version. Classes use to create an object.(because JavaScript class is a blueprint for create objects) A class make the code encapsulated and secure. When we use a class, it gives a structure. In ES6, classes are declared using ‘class’ keyword with two curly brackets.</p><p>The constructor method always added to the class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*lqevtdl_dhku39Zf3jzi4g.png" /></figure><h4>04. Modules</h4><p>Modules weren’t in previous JavaScript. Module feature is introduced by ES6. Each module is shown by a separate ‘.js’ file. ‘import’ or ‘export’ statements can be used for import or export classes, functions, variables and other components with different files and modules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*p-zAnzdmpWzdlEWaqWAiew.png" /></figure><p>Once defined the class with export, we can access the exported variables, functions, and classes in other module by using the import keyword.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*P7uklw5P8Lvk869m064nzA.png" /></figure><h4>05. Iterators</h4><p>JavaScript for/of can be used to loop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*Ud-SYb0PCY70SGyP-Mzj6w.png" /></figure><p><em>Loop through Array</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*sE4hyZVsERChOFYu5WCOFA.png" /><figcaption><em>Loop through Array</em></figcaption></figure><p><em>Loop through String</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*Q1t8zdr5bO9zOHL439Cv4g.png" /><figcaption><em>Loop through String</em></figcaption></figure><h4>06. Promises</h4><p>When handling asynchronous tasks, promises are used in JavaScript. ‘Producing code’ can take some time and ‘consuming code’ must wait for the result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*HFKgSdHJyxV21SqV8eiHgw.png" /></figure><h4>07. Array and Object Destructing</h4><p>Dividing of a complex structure into simpler parts is called as destructing.</p><p>This is an example for old JavaScript.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*B1_qNXd2Pe5PhRVzv8JeRg.png" /><figcaption>old JS</figcaption></figure><p>Here is an example for ES6</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*MKlIGH2IJ5EmaXQKGh1R7w.png" /></figure><h4>08. Rest Parameter</h4><p>The rest parameter lets a function to get an indefinite number of arguments as an array. With a rest parameter, a function can be called with any number of arguments, no matter how it was defined.</p><p>When … is at last of function parameter = rest parameter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*RXZ5Kz_YZiCpGSeHeiyWAA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*sHi8_IiTCVlA09qyTgrJ2Q.png" /><figcaption>Example for ES6 rest</figcaption></figure><h4>09. Spread Operator</h4><p>Same syntax is used for the spread operator as well, but it takes the Array itself (not just the arguments) . Spread parameter can be used to get the values of an Array, instead of using a for loop or any other method.</p><p>When … occurs in function call or alike = spread operator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*y55RJSTtcSrNPADk_AmkSA.png" /></figure><p>These are some of the basic features of ES6 that we can use. I hope this introduction is clear and understandable. Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb73c4e09038" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SOLID Principles in OOP]]></title>
            <link>https://medium.com/@lakshikamedhavini/solid-principles-in-oop-60e0ff479e84?source=rss-51b6a164592a------2</link>
            <guid isPermaLink="false">https://medium.com/p/60e0ff479e84</guid>
            <dc:creator><![CDATA[Lakshika Medhavini]]></dc:creator>
            <pubDate>Sat, 26 Feb 2022 18:26:41 GMT</pubDate>
            <atom:updated>2022-02-26T18:26:41.121Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CbAmhrn5kZDw9bnDmYwWbQ.png" /></figure><h3>Introduction</h3><p>SOLID principles are principles that are used in Object Oriented Designing. It helps to manage most of software design problems and, software architecture and, it helps to make software design understandable, maintainable and flexible. These five principles were introduced by Robert J. Martin, who is a computer scientist. Five principles were named as “SOLID” by Michel Feathers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*EyENctCvHlUHeSgFp1icYA.jpeg" /></figure><h3>01. Single Responsibility Principle (SRP)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3xYYQaJgtrLZSONnwYEF8A.png" /></figure><p>The simplest introduction to SRP is “<strong>A class should have only one reason to change</strong>”. That means, a class should contain one job.</p><p>For an example, when one class is having many methods that are used for separate responsibilities, that class cannot be re use every time. When one class has multiple responsibilities, the probability of getting errors are high, because each responsibilities can be affected to each one separately.</p><p><strong>Advantages of SRP</strong></p><ol><li>Maintainability</li><li>Parallel development</li><li>Testability</li><li>Extendibility</li><li>Flexibility</li></ol><h3>02. Open Closed Principle (OSP)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*zXcRgyZiO0z7Wiko4y2r6Q.png" /></figure><p>It says, “<strong>Objects or entities such as classes, functions and modules should be open for extension, but closed for modification</strong>”. When there are any existing codes in a class, they should not be changed. But new functionalities can be added, and it is called as open for extension. Open closed principle is to implement the new functionality on new derived sub classes which is inherit the original class implementation.</p><p><strong>Advantages of using open closed principle</strong></p><ol><li>When doing testing, it will not need to test the full functionality at once.</li><li>Low cost for organization.</li><li>It will be easy to maintain the single responsibility principle.</li></ol><h3>03. Liskov Substitution Principle (LSP)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kij1EKhRXz0l_gEraev7Ig.png" /></figure><p>“<strong>Every sub class should be substitute their parent class</strong>”. When extending a class, it should perform the functionalities of the base (parent) class. That means, child class should not have unimplemented methods. After overriding the methods of base class, child class should not give any different meanings to those methods. This principle is an extension of the open closed principle.</p><h3>04. Interface Segregation Principle (ISP)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cPwLfwQIyy8ySTHkyZm7LQ.png" /></figure><p>Interface segregation is about to keep things separately. The introduction of this principle is “<strong>Clients should not be forced to implement methods, it does not use</strong>”. Small interfaces are better to having instead of large interfaces.</p><h3>05. Dependency Inversion Principle (DIP)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XA-yonhPTbC0F6Cyyxq0TQ.png" /></figure><p>“High level modules (such as business rules: when considering layers, it closes to the business itself) should not depend on low level modules (database change, changes of application frameworks: such as other things without business),but both should depend on abstraction”. “Abstraction should not depend on details(how the works are done with tool), details should depend on abstraction”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*_EzDXdJDlZCo45Jy4_WZPw.png" /></figure><p>When considering 3 tier architecture, there are 3 tiers as presentation layer, business layer and data tier. When we want to change any of data tier without knowing the business tier, we can do it with abstraction methodology.</p><p>In this article, we talked about the very basic introduction to SOLID principles. I hope that the basic concepts are clear and understandable. Thank you for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60e0ff479e84" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is React ?]]></title>
            <link>https://medium.com/ms-club-of-sliit/what-is-react-9db69a459774?source=rss-51b6a164592a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9db69a459774</guid>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Lakshika Medhavini]]></dc:creator>
            <pubDate>Sun, 15 Aug 2021 04:36:16 GMT</pubDate>
            <atom:updated>2021-08-15T04:36:16.494Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*wUEVzXGUaVd0NCikF-fojA.jpeg" /></figure><h3>What is React ?</h3><h4>Introduction to React.JS</h4><p>What do you know about ‘React’ ? I’m going to give some basics of React.JS in this report.</p><p>React was created by Jordan Walke, a software engineer at Facebook. React is a free and open source frontend JavaScript library. React allows to build user interfaces. React was first used in the Facebook’s newsfeed in 2011, and then later, in Instagram by 2012. It released to public in 2013.</p><p>Without reloading the page, React allows users to create web applications that can change data. In the MVC architecture (Model View Controller), React is corresponds to View layer. The View layer is responsible for how the app looks and feels. We can write React code directly in HTML. But for production, we need NPM and Node.js installed.</p><h3>Why React?</h3><p>React is the most popular front-end library for web application development nowadays. Let’s see why..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*KRWltyVTO_WpVSezWZIU0A.jpeg" /></figure><p><strong>DOM Virtuality:</strong> React uses virtual DOM to enhance its performance. It creates a Virtual DOM in memory. Virtual DOM is the virtual representation of the real DOM. Every time if there is a change in the UI application, DOM gets updated to represent that change. Instead of updating all the components, virtual DOM compares the previous state and update only the items in the real DOM that were changed.</p><p><strong>Simplicity</strong>: React uses a special syntax called JSX. JSX allows users to mix HTML and JavaScript. It is easier to use. React has become popular because of its simplicity and flexibility.</p><p><strong>Reusability:</strong> React allows users to break down the complex UI into simpler components, instead of working on the entire web application. A single app consists of multiple components. Components can be reused throughout the application.</p><p><strong>Development of both Web and Mobile applications:</strong> React can be used to develop both web apps and mobile apps. There is a framework called React Native, derived from React, is used for creating mobile applications.</p><p><strong>Efficient Debugging:</strong> React follows a unidirectional data flow. It means, always nest child components within parent components, when designing the application. It becomes easier to debug errors. Facebook provides a small browser extension to debug faster and easier.</p><h3>React Components</h3><p>Components are the building blocks of any React applications. One web application may have multiple components. Components are independent and reusable bits of code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*32f_6hMpGqZl_jlrDXJ0EA.jpeg" /></figure><p>Components are in two types as <strong>class components</strong> and <strong>functional components</strong>.</p><p>Functional Components: These components have no state of their own. They may derive data from other components as props(properties)</p><p>Class Components: Class components can hold and manage their state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*ptNyZ8djBweekarzhpkdZw.jpeg" /></figure><h4>State</h4><p>State is a build-in React object. It holds some data or information about the component.</p><h4>Props (Properties)</h4><p>Props are basically kind of global variable or object. React allows users to pass information to component using props.</p><p>Basically, props are like parameters. They are passed to a component from the caller of the parent component. State is something like attribute. It is something local to a class class component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*4KNYijLwSnpHBV3J6pyg4w.jpeg" /></figure><p>You can learn more about React from <a href="https://reactjs.org/"><strong>here</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9db69a459774" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ms-club-of-sliit/what-is-react-9db69a459774">What is React ?</a> was originally published in <a href="https://medium.com/ms-club-of-sliit">MS Club of SLIIT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>