<?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 Noman Gul on Medium]]></title>
        <description><![CDATA[Stories by Noman Gul on Medium]]></description>
        <link>https://medium.com/@nomangul?source=rss-a9315e167f31------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*F617fSmYSWPGeR4dGRjkoQ.jpeg</url>
            <title>Stories by Noman Gul on Medium</title>
            <link>https://medium.com/@nomangul?source=rss-a9315e167f31------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:31:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nomangul/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[React Funda]]></title>
            <link>https://medium.com/@nomangul/react-funda-a49651c3e339?source=rss-a9315e167f31------2</link>
            <guid isPermaLink="false">https://medium.com/p/a49651c3e339</guid>
            <category><![CDATA[framework-vs-library]]></category>
            <category><![CDATA[angular-vs-react]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[spa-vs-mpa]]></category>
            <category><![CDATA[dom-vs-virtual-dom]]></category>
            <dc:creator><![CDATA[Noman Gul]]></dc:creator>
            <pubDate>Wed, 08 Aug 2018 12:17:49 GMT</pubDate>
            <atom:updated>2018-08-08T12:17:49.127Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*PWqCm7--Toj2KsqjIxekSg.jpeg" /><figcaption>Cool Slogan</figcaption></figure><h3>React? What Is It?</h3><p><a href="https://reactjs.org/">React</a> is an open-source <strong>JavaScript library</strong> adopted for developing user interfaces for <strong>SPA</strong>. It’s used for controlling the view layer for web and mobile apps. React allows us to make reusable <strong>UI components</strong>.</p><p>React was early created by Jordan Walke, a software engineer working for <strong>Facebook</strong>. React first deployed on Facebook’s news feed in 2011 and on Instagram in 2012.</p><p>React allows developers to build <strong>huge web applications</strong> which can change data, without refreshing the page. The major purpose of React is to be fast, scalable, and simple. It works only on user interfaces in the application. This corresponds to <strong>View (V)</strong> in the MVC template. React can be applied with a mix of other JavaScript libraries or frameworks, such as <a href="https://angular.io/"><strong>Angular</strong></a>.</p><h4>SPA vs MPA</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hTSp98y2kTBHS9dU6LAN1Q.jpeg" /></figure><p><a href="https://en.wikipedia.org/wiki/Single-page_application"><strong>SPA</strong></a> is stronger than <strong>MPA</strong> in terms of faster page loading, increasing user experience, reduced development of mobile applications, and disposing of the need to create codes for page <strong>rendering on the server</strong>. MPA is superior to SPA in terms of simplicity of UI code and easier SEO. So comparing between the two is simply based on the goal of the application.</p><h4>Library vs Framework</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*EwvVyxr7G6QdQF5FLEptEg.png" /></figure><ul><li>A library can be replaceable by another library, but a framework cannot.</li><li>If you don’t like the jQuery date picker library, you can replace it with another date picker such as bootstrap date picker.</li><li>If you don’t like Angular.js on which you built your project, you cannot just replace it with any other framework. You require to rewrite your entire code base.</li><li>A library takes less of a learning curve compared to frameworks.</li></ul><p>For example, <a href="https://reactjs.org/">React.js</a> is a library, Angular.js is a framework.</p><h3>React vs Angular</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ivPbByJAgi2tOmwxoUTTsw.jpeg" /><figcaption>War is Began!</figcaption></figure><p>The battle for the Front-End is not over yet. The mature feature-rich framework and the dynamic JS library cannot be deemed as equal competitors. Both are robust technologies widely adopted in the web app development industry.</p><p>I’m not withdrawn from one in support of another but, projects developed with <strong>Angular</strong> are rarer in the company than those with <strong>React</strong> are. In fact, you may face many switch-to-React cases on the web, as well as React-to-Vue.js ones. Each of them has own reasons for such a decision. Still, it would be unfair to claim the <strong>Google’s framework</strong> is in its last stages. Be attentive and well-targeted in making your pick. Good luck!</p><h3>Virtual DOM vs DOM</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NMzzLkikNXiUp0xnrmFFOA.png" /></figure><p>The <strong>DOM</strong> is implemented in the browser and has the representation of your application UI. Every time the state of our UI changes; the DOM is updated to show that change but, manipulating the DOM can be tedious.</p><p>Even just reading from the DOM can produce undesirable side effects in our applications. Modern applications are dynamic and need to handle change efficiently.</p><p>The V<strong>irtual DOM</strong> allows for faster and easier to reason about applications, but it also has even stronger implications. The virtual DOM is excellent for cross-browser issues because our applications no longer have to deal with the DOM themselves.</p><p>Now we are free from the DOM we can build applications using web technologies without a browser! We can do things like rendering our virtual DOM on the server or even HTML canvas.</p><h3>Something Missing?</h3><p>If you have ideas for more “Comparison” recipes that should be on this page, <a href="https://noman-gul.firebaseapp.com/">let me know</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a49651c3e339" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>