<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Asish Raz</title>
    <description>The latest articles on DEV Community by Asish Raz (@gareeb_coder).</description>
    <link>https://dev.to/gareeb_coder</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F610478%2F6f5c5fc0-d522-45fc-98b5-23e588f649df.jpeg</url>
      <title>DEV Community: Asish Raz</title>
      <link>https://dev.to/gareeb_coder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gareeb_coder"/>
    <language>en</language>
    <item>
      <title>Diffing in React</title>
      <dc:creator>Asish Raz</dc:creator>
      <pubDate>Thu, 08 Apr 2021 06:22:11 +0000</pubDate>
      <link>https://dev.to/gareeb_coder/diffing-in-react-1n7h</link>
      <guid>https://dev.to/gareeb_coder/diffing-in-react-1n7h</guid>
      <description>&lt;p&gt;As a react-developer, you must come across the topic &lt;strong&gt;DIFFING&lt;/strong&gt;. &lt;br&gt;
I read few articles and understood the basics of them. And out of nowhere, I thought of sharing my knowledge in a simpler way or maybe in a non-technical way. 😜😜&lt;/p&gt;

&lt;p&gt;Think for a moment, Whatsapp as a &lt;em&gt;VIRTUAL DOM&lt;/em&gt; &lt;br&gt;
Let suppose, JSX element have their own &lt;em&gt;Whatsapp Group&lt;/em&gt;(group name is &lt;em&gt;Virtual DOM Object&lt;/em&gt;)&lt;br&gt;
Now, there is a member of this group, who wants to update itself and not the rest.&lt;/p&gt;

&lt;p&gt;Now the admin of this group: &lt;strong&gt;REACT&lt;/strong&gt; thought of making a new group very similar to the existing one(which means, &lt;em&gt;the new list of objects&lt;/em&gt;).&lt;/p&gt;

&lt;p&gt;Obviously, this group will also exist in Whatsapp only (that means, &lt;strong&gt;VIRTUAL DOM&lt;/strong&gt;) &lt;/p&gt;

&lt;p&gt;In both the groups, &lt;strong&gt;REACT&lt;/strong&gt; is the only admin. &lt;br&gt;
And &lt;strong&gt;REACT&lt;/strong&gt; observe both the groups from the top-level and wanted to see, which member of the existing group has been changed(that means, &lt;em&gt;which of the VIRTUAL DOM Object has been changed&lt;/em&gt;) &lt;br&gt;
And it found out the member. &lt;/p&gt;

&lt;p&gt;So, &lt;em&gt;this process of finding out or the comparison&lt;/em&gt; (in React language) is called &lt;strong&gt;DIFFING&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;That's it&lt;/em&gt;. &lt;/p&gt;

&lt;p&gt;Thank you for taking out your time and reading it. I tried for the first time, writing some tech article like this. Let me know, your thoughts on it.&lt;br&gt;
Any appreciation, criticism are welcome. 👍&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>writing</category>
      <category>firstpost</category>
    </item>
  </channel>
</rss>
