<?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 James Silvester on Medium]]></title>
        <description><![CDATA[Stories by James Silvester on Medium]]></description>
        <link>https://medium.com/@jamessilvester?source=rss-17891df6c97d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KKCVLNIWqix7Qo0dJXZv4A.jpeg</url>
            <title>Stories by James Silvester on Medium</title>
            <link>https://medium.com/@jamessilvester?source=rss-17891df6c97d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 21:17:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jamessilvester/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[Differences Between jQuery and React]]></title>
            <link>https://medium.com/@jamessilvester/differences-between-jquery-and-react-3eaca58df34f?source=rss-17891df6c97d------2</link>
            <guid isPermaLink="false">https://medium.com/p/3eaca58df34f</guid>
            <category><![CDATA[virtual-dom]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[jquery]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[James Silvester]]></dc:creator>
            <pubDate>Tue, 31 Oct 2017 17:35:12 GMT</pubDate>
            <atom:updated>2017-10-31T19:57:23.052Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s briefly touch on the similarities first. Both React and jQuery are javascript libraries that handle interface changes. The way they go about it is fundamentally different.</p><p><strong>jQuery</strong> event handlers and corresponding UI changes are made by directly manipulating the existing HTML that has already been rendered to the DOM.</p><p>In contrast, event handlers in <strong>React </strong>do not directly affect the existing HTML. Instead those changes are recorded within the State object, which controls an intermediary layer commonly known as the “<em>virtual</em>” or “<em>shadow</em>” DOM. The HTML of the “Shadow” DOM and Actual DOM are then compared for differences. When a difference is found, the Actual DOM is <em>partially re-rendered</em> in order to reflect the requested update.</p><p><em>Partial rendering</em> is the key here, because it points to one of the main performance advantages of React. Because React instructs the page to re-render only the HTML for where a change is found, it removes the redundancy of having unchanged HTML load multiple times.</p><p>And for the visually-inclined:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*dPsRfoMnizQc1FYveSWr-g.png" /><figcaption>Source: <a href="http://mateoclarke.com/blog/2015/08/26/what-i-learned-react/">http://mateoclarke.com/blog/2015/08/26/what-i-learned-react/</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3eaca58df34f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>