<?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 Neeruvai Devaiah Rohith  on Medium]]></title>
        <description><![CDATA[Stories by Neeruvai Devaiah Rohith  on Medium]]></description>
        <link>https://medium.com/@ndrohith?source=rss-db0946965c2f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*967YXNZTEbGb8zDI</url>
            <title>Stories by Neeruvai Devaiah Rohith  on Medium</title>
            <link>https://medium.com/@ndrohith?source=rss-db0946965c2f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 08 Apr 2026 22:45:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ndrohith/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[HTML DOM vs Virtual DOM]]></title>
            <link>https://medium.com/@ndrohith/html-dom-vs-virtual-dom-88b584252b7e?source=rss-db0946965c2f------2</link>
            <guid isPermaLink="false">https://medium.com/p/88b584252b7e</guid>
            <category><![CDATA[dom]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Neeruvai Devaiah Rohith ]]></dc:creator>
            <pubDate>Mon, 07 Mar 2022 15:00:06 GMT</pubDate>
            <atom:updated>2022-03-07T15:00:06.130Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*L_Y62adrDR4xaTbGeo2mpw.png" /></figure><h4>DOM</h4><p>Document Object Model (DOM) is an abstraction of structured text. This text is an HTML code for web developers, and the DOM is simply referred to as HTML DOM. HTML elements are transformed into nodes in the DOM.</p><h4>The HTML DOM is Expensive</h4><p>Each web page is internally represented as a tree of objects. This type of representation is known as a Document Object Model. Furthermore, it is a language-independent interface through which programming languages (such as JavaScript) can access HTML elements.</p><p>In simple words</p><blockquote><em>The HTML DOM is a standard for obtaining, changing, adding, or deleting HTML elements.</em></blockquote><h4>Virtual DOM is a possible solution</h4><p>So the React team came up with the idea of abstracting the HTML DOM and creating its own Virtual DOM in order to compute the minimum number of operations we need to apply on the HTML DOM to replicate our application’s current state.</p><p>The Virtual DOM saves time by eliminating the need for unnecessary DOM modifications.</p><h4>Exactly how?</h4><p>React’s application state is represented as a Virtual DOM at all times. These are the steps that React takes to optimise performance whenever the application state changes.</p><p>Create a new Virtual DOM to represent our application’s new state.<br>Contrast the old Virtual DOM (representing the current HTML DOM) with the new Virtual DOM. Determine the smallest number of operations required to transform the old Virtual DOM (which represents the current HTML DOM) into the new Virtual DOM. After those operations are identified, they are mapped into their equivalent HTML DOM operations .Remember, the Virtual DOM is merely an abstraction of the HTML DOM, and the two are isomorphic.<br>The minimum number of operations discovered and transferred to their equivalent HTML DOM operations are now directly applied to the application’s HTML DOM.</p><h4>Note: Because the Virtual DOM is a JavaScript Object, operations performed on it are inexpensive.</h4><p>Reference : React JS Notes for Professionals</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88b584252b7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a React application using yarn package manager]]></title>
            <link>https://medium.com/@ndrohith/build-a-react-application-using-yarn-package-manager-27382bf587a?source=rss-db0946965c2f------2</link>
            <guid isPermaLink="false">https://medium.com/p/27382bf587a</guid>
            <category><![CDATA[yarn-package-manager]]></category>
            <dc:creator><![CDATA[Neeruvai Devaiah Rohith ]]></dc:creator>
            <pubDate>Thu, 27 Jan 2022 09:29:27 GMT</pubDate>
            <atom:updated>2022-01-27T09:29:27.664Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*HzjrXvOx8G3CnanAXpqQ-A.png" /></figure><h4>Install via npm</h4><p>You can use npm to install the yarn package.</p><pre>npm install --global yarn</pre><h4>In Debian / Ubuntu</h4><p>You can install Yarn from <strong>Debian package repository</strong> on Debian or Ubuntu Linux. You’ll need to set up the repository first:</p><pre>curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -<br>echo &quot;deb https://dl.yarnpkg.com/debian/ stable main&quot; | sudo tee /etc/apt/sources.list.d/yarn.list</pre><p>Then simply type</p><pre>sudo apt update &amp;&amp; sudo apt install yarn</pre><h4>Reference</h4><p><a href="https://classic.yarnpkg.com/en/docs/install#debian-stable">Yarn</a></p><h4>Examine installation</h4><pre>yarn --version</pre><h4>Create React application</h4><pre>yarn create react-app &lt;application_name&gt;</pre><p>yarn create is available in Yarn 0.25+</p><h4>Starting React application</h4><pre>cd &lt;application_name&gt;<br>yarn start</pre><p>You can find your application running in <a href="http://localhost:300">http://localhost:300</a>0/ .</p><h4>React Documentation</h4><p><a href="https://reactjs.org/docs/getting-started.html">Getting Started - React</a></p><p>Credits : <a href="https://reactjs.org/">https://reactjs.org/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27382bf587a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>