<?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: Md Nayem Hossain</title>
    <description>The latest articles on DEV Community by Md Nayem Hossain (@nayemhossain).</description>
    <link>https://dev.to/nayemhossain</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%2F970880%2F44529ebe-f37b-46c6-bd74-5525ef0e84ea.jpeg</url>
      <title>DEV Community: Md Nayem Hossain</title>
      <link>https://dev.to/nayemhossain</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nayemhossain"/>
    <language>en</language>
    <item>
      <title>What is JavaScript?</title>
      <dc:creator>Md Nayem Hossain</dc:creator>
      <pubDate>Thu, 17 Nov 2022 17:55:32 +0000</pubDate>
      <link>https://dev.to/nayemhossain/what-is-javascript-4jle</link>
      <guid>https://dev.to/nayemhossain/what-is-javascript-4jle</guid>
      <description>&lt;p&gt;JavaScript is a high-level, often just-in-time compiled programing or scripting language. It has dynamic typing, prototype-based object-orientation, and first-class functions. It is multi-paradigm, supporting event-driven, functional, and imperative programming styles.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;High-Level&lt;/strong&gt; → Human Understandable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Just-in-time Compilation&lt;/strong&gt; → Dynamic Compilation OR Runtime Compilation. Means, a way of executing computer code that performs compilation during the execution of a program (at run time) rather than before execution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dynamic Type&lt;/strong&gt; → Where the interpreter assigns variables a type at runtime based on the variable's value at the time. It means that JS does not require the explicit declaration of the variables before they're used.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prototype-based object-orientation&lt;/strong&gt; → Prototype-based object-orientation is a style of object-oriented programming in which classes are not explicitly defined, but rather derived by adding properties and methods to an instance of another class. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First-class Functions&lt;/strong&gt; → When functions are treated like any other variables. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multi-paradigm&lt;/strong&gt; → Multi paradigm means the language is general-purpose or flexible. JavaScript can be used for declarative (functional) or imperative (object-oriented) programming styles.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Event-Driven&lt;/strong&gt; → Event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or message passing from other programs or threads.&lt;/p&gt;

</description>
      <category>welcome</category>
      <category>community</category>
    </item>
    <item>
      <title>What is Virtual DOM? What are the differences between virtual and real DOM?</title>
      <dc:creator>Md Nayem Hossain</dc:creator>
      <pubDate>Fri, 11 Nov 2022 19:05:19 +0000</pubDate>
      <link>https://dev.to/nayemhossain/what-is-virtual-dom-what-are-the-differences-between-virtual-and-real-dom-2ki8</link>
      <guid>https://dev.to/nayemhossain/what-is-virtual-dom-what-are-the-differences-between-virtual-and-real-dom-2ki8</guid>
      <description>&lt;p&gt;Virtual DOM is a virtual representation of the real DOM. Basically, it’s just a copy of the real DOM.&lt;br&gt;
The main difference between them is- a virtual DOM object has all the same properties as a real DOM, but it can't display a page into the browser directly, just like the real DOM.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lV6Wgz80--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pgdvekddmjpulyalgz9a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lV6Wgz80--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pgdvekddmjpulyalgz9a.png" alt="Image description" width="880" height="772"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In summary, here’s basically what happens when we try to update the DOM in React:&lt;/p&gt;

&lt;p&gt;i.  The entire virtual DOM gets updated.&lt;br&gt;
ii. The virtual DOM gets compared to what it looked like before we updated it. React figures out which objects have changed.&lt;br&gt;
iii.    The changed objects only get updated on the real DOM.&lt;br&gt;
iv. Changes in the real DOM cause the screen to change.&lt;/p&gt;

</description>
      <category>react</category>
    </item>
  </channel>
</rss>
