<?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 amateur_writer on Medium]]></title>
        <description><![CDATA[Stories by amateur_writer on Medium]]></description>
        <link>https://medium.com/@saggipuja534?source=rss-1655a5fdc85------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*j5yo_SXu9GvXDMWi</url>
            <title>Stories by amateur_writer on Medium</title>
            <link>https://medium.com/@saggipuja534?source=rss-1655a5fdc85------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 01:44:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@saggipuja534/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[Benefits of using Functional components over Class components in React]]></title>
            <link>https://medium.com/@saggipuja534/benefits-of-using-functional-components-over-class-components-in-react-a4832799bf83?source=rss-1655a5fdc85------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4832799bf83</guid>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[react-hook]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[functional-component]]></category>
            <category><![CDATA[react-js-tutorials]]></category>
            <dc:creator><![CDATA[amateur_writer]]></dc:creator>
            <pubDate>Mon, 14 Aug 2023 18:57:25 GMT</pubDate>
            <atom:updated>2023-08-14T18:57:25.567Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Benefits of using Functional components over Class components in React</strong></p><ol><li><strong>Simplicity</strong>: Functional components are just JavaScript functions. They are easier to read, test, and understand. You don’t need to understand concepts like this keyword or lifecycle methods to use functional components.</li><li><strong>Hooks</strong>: With the introduction of Hooks in React 16.8, you can use state and other React features without writing a class. This makes your code more readable and easier to maintain.</li><li><strong>Performance</strong>: Functional components are generally considered to be faster and more efficient than class components. They result in less code to download and parse, leading to improved performance.</li><li><strong>Less Boilerplate</strong>: With functional components, you can write less code and do more. Class components require you to write more code for creating a component, and managing state, and lifecycle methods.</li><li><strong>Improved Testability</strong>: Since functional components are just functions, they can be easily unit tested without having to instantiate a class.</li><li><strong>Better Integration with TypeScript</strong>: Functional components work better with TypeScript and type checking, as they are just plain functions.</li><li><strong>Future of React</strong>: React’s focus is shifting towards functional components and hooks. Many of the latest React features and optimizations are designed primarily for functional components.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4832799bf83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Polyfills…]]></title>
            <link>https://medium.com/@saggipuja534/polyfills-c9dbe94f0bc6?source=rss-1655a5fdc85------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9dbe94f0bc6</guid>
            <category><![CDATA[polyfill-for-filter]]></category>
            <category><![CDATA[polyfill]]></category>
            <category><![CDATA[javascript-development]]></category>
            <category><![CDATA[polyfill-in-javascript]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[amateur_writer]]></dc:creator>
            <pubDate>Mon, 14 Aug 2023 18:49:04 GMT</pubDate>
            <atom:updated>2023-08-14T18:49:04.714Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Polyfills…</strong></p><p>In JavaScript, a polyfill is a piece of code (usually JavaScript on the Web) used to provide modern functionality on older browsers that do not natively support it. The term is a combination of ‘polymer’ and ‘fill’, which means filling in gaps with a polymer, or in this case, filling in gaps in the functionality of a web browser.</p><p>Lets take an example of Array.prototype.filter():</p><pre>if (!Array.prototype.filter) {<br>  Array.prototype.filter = function(callback) {<br>    var filteredArray = [];<br>    for (var i = 0; i &lt; this.length; i++) {<br>      if (callback(this[i])) {<br>        filteredArray.push(this[i]);<br>      }<br>    }<br>    return filteredArray;<br>  };<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9dbe94f0bc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are the benefits of using Typescript?]]></title>
            <link>https://medium.com/@saggipuja534/what-are-the-benefits-of-using-typescript-13232e8b2974?source=rss-1655a5fdc85------2</link>
            <guid isPermaLink="false">https://medium.com/p/13232e8b2974</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[typescript-tips]]></category>
            <category><![CDATA[modern-javascript]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[interview-questions]]></category>
            <dc:creator><![CDATA[amateur_writer]]></dc:creator>
            <pubDate>Mon, 14 Aug 2023 18:41:10 GMT</pubDate>
            <atom:updated>2023-08-14T18:41:10.096Z</atom:updated>
            <content:encoded><![CDATA[<p>What are the benefits of using Typescript?</p><p>Here are some of the key benefits:</p><ol><li><strong>Static Typing</strong>: This means you can check the type of your variables, function parameters, returned values, and object properties. This can help catch errors early in the development process, rather than at runtime.</li><li><strong>Improved IDE Support</strong>: This includes features like autocompletion, type inference, and type checking. This can significantly speed up the development process and reduce the likelihood of errors.</li><li><strong>Better Scalability</strong>: TypeScript is designed to help developers write more maintainable and scalable code. This makes it a good choice for large projects or when you’re working with a large team.</li><li><strong>Advanced Features</strong>: TypeScript includes advanced JavaScript features like decorators and interfaces, which can help you write more robust and maintainable code. It also supports features from ES6 and beyond, like modules, lambda functions, and optional chaining.</li><li><strong>Clearer Intent</strong>: By specifying types, the intent of the code becomes clearer. This can make the code easier to read and understand, which is particularly beneficial for teams and open-source projects.</li><li><strong>Refactoring</strong>: TypeScript makes refactoring easier and safer. The compiler can quickly find and track errors when you’re changing the codebase, reducing the risk of introducing bugs.</li><li><strong>Community and Ecosystem</strong>: TypeScript has strong community support and is backed by Microsoft. It’s widely used in the industry and has a growing ecosystem of type definitions for existing JavaScript libraries.</li><li><strong>Documentation</strong>: TypeScript serves as its own documentation. With types, function signatures become clearer , making the code easier to understand and work with.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13232e8b2974" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>