<?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 Sirtaj Khan on Medium]]></title>
        <description><![CDATA[Stories by Sirtaj Khan on Medium]]></description>
        <link>https://medium.com/@ksirtaj29?source=rss-7bc0398bd660------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*hLJ4Z6QSOxGkW8pw</url>
            <title>Stories by Sirtaj Khan on Medium</title>
            <link>https://medium.com/@ksirtaj29?source=rss-7bc0398bd660------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:46:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ksirtaj29/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[Reactjs]]></title>
            <link>https://medium.com/@ksirtaj29/reactjs-d6779ee84b94?source=rss-7bc0398bd660------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6779ee84b94</guid>
            <dc:creator><![CDATA[Sirtaj Khan]]></dc:creator>
            <pubDate>Tue, 19 Jul 2022 01:28:00 GMT</pubDate>
            <atom:updated>2022-07-19T01:28:00.161Z</atom:updated>
            <content:encoded><![CDATA[<h3>WHAT is React?</h3><p>React is a JS library</p><p>to create Fast &amp; Interactive UIs</p><h3>-<strong>What makes React so popular?</strong></h3><ol><li>Ease of Development</li><li>Single Page Apps</li><li>Fast Performance</li><li>Declarative UI</li><li>Easy to Maintain</li></ol><ul><li><strong>Ease of Development:-</strong></li></ul><p>React is easy to grasp for developers who are familiar with Javascript. So if you have a team of developers that are very well-versed with Javascript, Reactjs should be your best bet. However, even if developers don’t know Javascript, React can be the right place to start.</p><h4>Single Page Apps:-</h4><p>In the past, when browsers were much less capable than today, and JavaScript performance was poor, every page was coming from a server. Every time you clicked something, a new request was made to the server and the browser subsequently loaded the new page.</p><p>React, an app is usually built as a single page application: you only load the application code (HTML, <a href="https://flaviocopes.com/css/">CSS</a>, <a href="https://flaviocopes.com/javascript/">JavaScript</a>) once, and when you interact with the application, what generally happens is that JavaScript intercepts the browser events and instead of making a new request to the server that then returns a new document, the client requests some JSON or performs an action on the server but the page that the user sees is never completely wiped away and behaves more like a desktop application.</p><ul><li><strong>Fast Performance:-</strong></li></ul><ol><li>It updates ONLY those elements that actually need to be updated</li><li>It batches the updates and hence we update the real DOM only a single time. Thus the repainting is also done only once which otherwise would have been done multiple times.</li></ol><ul><li><strong>Declarative UI:-</strong></li></ul><p>Declarative programming is like describing the picture, whereas imperative programming is the instruction for painting that picture. Declarative programming makes code:</p><ol><li><strong>more readable:</strong> Program that is easier to read because it hides the lower level detail. In declarative programming, we don’t even know about the lower-level details of the system.</li></ol><p><strong>2. easier to reason about:</strong> the code we write is easier to reason about because it is much abstracted and we describe the solution instead of the procedure.</p><ul><li><strong>Easy to Maintain:-</strong></li><li>React.js helps you with batch updates and minimizing DoM manipulations. Flux architecture pattern on the other hand suggests unidirectional data flow making it easy to understand and maintain a large code base.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6779ee84b94" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>