<?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 Awais Anwar on Medium]]></title>
        <description><![CDATA[Stories by Awais Anwar on Medium]]></description>
        <link>https://medium.com/@awaisanwar544?source=rss-a5b31a969bc4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_LjredqoAthDx39qi-K1nw.png</url>
            <title>Stories by Awais Anwar on Medium</title>
            <link>https://medium.com/@awaisanwar544?source=rss-a5b31a969bc4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:06:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@awaisanwar544/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[React.js Learning Pathway for Beginners]]></title>
            <link>https://medium.com/@awaisanwar544/react-js-learning-pathway-for-beginners-3620e60d881f?source=rss-a5b31a969bc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3620e60d881f</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Awais Anwar]]></dc:creator>
            <pubDate>Sun, 10 Apr 2022 01:28:56 GMT</pubDate>
            <atom:updated>2022-04-10T01:28:56.879Z</atom:updated>
            <content:encoded><![CDATA[<p>React is a popular JavaScript library for building user interfaces. It was created by Facebook and is used by hundreds of thousands of developers worldwide. React is a declarative, efficient, and flexible JavaScript library for building user interfaces.</p><p>If you’re new to React, don’t worry — this article will guide you through the process of learning React from start to finish. We’ll cover everything from the basics of React components and JSX syntax to more advanced topics like state management. By the end of this article, you’ll know what to learn to become a React master!</p><figure><img alt="A graphical representation of details about react learning path" src="https://cdn-images-1.medium.com/max/1024/1*4DMippX_b7wIdWmSbXJLVw.jpeg" /><figcaption>Diagram by <a href="https://www.linkedin.com/in/awaisanwar544/">Awais Anwar</a></figcaption></figure><p>What do you need to know before you can start learning React?</p><ul><li>HTML</li><li>CSS</li><li>Javascript</li></ul><p>You cannot simply jump into React.js without first having a firm understanding of basic JavaScript topics such as:</p><ul><li>Basic Syntax</li><li>ES6+</li><li>Arrow Functions</li><li>Template Literals</li><li>Array Methods</li><li>Object Property Shorthand</li><li>Destructuring</li><li>Rest &amp; Spread Operator</li><li>Promises</li><li>Async/await</li><li>Modules (Import &amp; Export)</li></ul><p>After completing the above prerequisite knowledge now you can jump into React starting from the basics:</p><ul><li>Files &amp; Folder Structure</li><li>Components</li><li>JSX</li><li>Props</li><li>State</li><li>Events</li><li>Styling</li><li>Conditional Rendering</li></ul><p>Next move some essential Hooks:</p><ul><li>useState</li><li>useEffect</li><li>useRef</li><li>useContext</li><li>useReducer</li><li>useMemo</li><li>useCallback</li></ul><p>This is pretty much it. After learning above mentioned topics you will be fully equipped to create a complete working react app. Now we’ll see how can you make your workflow better and use different libraries, packages, and tools to their fullest potential.</p><h4>Packages</h4><ul><li>React Router</li><li>Styled Components</li><li>Axios</li></ul><h4>UI Frameworks</h4><ul><li>Material UI</li><li>Chakra UI</li><li>React Bootstrap</li></ul><h4>State Management Tools</h4><ul><li>Redux</li><li>Context API</li></ul><h4>Testing</h4><ul><li>Jest</li><li>React Testing Library</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3620e60d881f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Curious Case Of A Number In Javascript That Is Not Equal To Itself.]]></title>
            <link>https://medium.com/@awaisanwar544/the-curious-case-of-a-number-in-javascript-that-is-not-equal-to-itself-6b1ba3a90013?source=rss-a5b31a969bc4------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b1ba3a90013</guid>
            <category><![CDATA[funny-stuff]]></category>
            <category><![CDATA[coding-fun]]></category>
            <category><![CDATA[functional-programming]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Awais Anwar]]></dc:creator>
            <pubDate>Sat, 02 Apr 2022 20:23:03 GMT</pubDate>
            <atom:updated>2022-04-04T00:08:08.219Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="A laptop with ceramic watch on the desk" src="https://cdn-images-1.medium.com/max/1024/1*bF43nLImz0w3Bh9ABoo9wQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@hiteshchoudhary?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Hitesh Choudhary</a> on <a href="https://unsplash.com/@hiteshchoudhary?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p><strong>Have you ever asked yourself if there’s any number that is not equal to itself?</strong></p><p>Some might argue about Infinityand may be they are right in terms of a concept; as Infinity is the idea of something that is countless. It’s not big or huge, it’s just endless. But I’m not concerned about the mathematical or philosophical explanation of such a number or concept here. I want to discuss it in terms of programming and strickly in Javascript perspective.</p><p><strong><em>So what is a “Number” in Javascript?</em></strong></p><p>According to MDN Web Docs:</p><blockquote>The JavaScript Number type is a <a href="https://en.wikipedia.org/wiki/Floating-point_arithmetic">double-precision 64-bit binary format IEEE 754</a> value, like double in Java or C#. This means it can represent fractional values, but there are some limits to what it can store. A Number only keeps about 17 decimal places of precision; arithmetic is subject to <a href="https://en.wikipedia.org/wiki/Floating-point_arithmetic#Representable_numbers,_conversion_and_rounding">rounding</a>. The largest value a Number can hold is about 1.8E308.</blockquote><p>We can get Number type by using literal syntax like this</p><pre>225    // two-hundred twenty-five<br>225.0  // same<br>225 === 225.0  // true<br>(typeof 225) // number</pre><p>or by the function syntax</p><pre>Number(&#39;225&#39;)  // returns the number 225<br>Number(&#39;225&#39;) === 225  // true<br>typeof Number(225) // number</pre><p>If value of a Number is higher than 1.8E308 then it is replaced with the special Number constant <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity">Infinity</a>. And according to MDN Web Docs:</p><blockquote>Infinity is a property of the <em>global object</em>. In other words, it is a variable in global scope.</blockquote><p>Let’s put Infinity to a simple test</p><pre>typeof Infinity  // number<br>Infinity == Infinity  // true<br>Infinity === Infinity // true</pre><p>We can see that Infinity is of Number type and compares equal (via ==, and ===) to another Infinity value.</p><h3><strong>Not-A-Number BUT Number (</strong>NaN)</h3><p>Let’s discuss something outside the usual parameters of normalcy. Of all the numbers NaN is the only Number type which is not-a-number.</p><pre>typeof NaN  // number</pre><p>Let’s see what MDN Web Docs has to say about NaN</p><blockquote>NaN is a property of the <em>global object</em>. In other words, it is a variable in global scope. The initial value of NaN is Not-A-Number — the same as the value of <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/NaN">Number.NaN</a>.</blockquote><p>Testing NaNagainst NaN</p><pre>NaN === NaN;        // false</pre><p><strong>No!!! </strong>It’s not a typo and your screen is not broken.</p><p><strong>Yes!!! </strong>NaN compares unequal (via ==, !=, ===, and !==) to another NaN value and any other value. And If this doesn’t seem strange to you, then there must be something weird about you like Javascript.</p><pre>Number.NaN === NaN; // false<br>isNaN(NaN);         // true<br>isNaN(Number.NaN);  // true<br>Number.isNaN(NaN);  // true</pre><p>Fun doesn’t end here. There are two different ways to test if the value is NaN or Not</p><pre>isNaN(&#39;hello world&#39;);        // true<br>Number.isNaN(&#39;hello world&#39;); // false</pre><p>SHOCKED..! Not yet? Ok then try to print this…</p><pre>Array(50).join(&#39;hello&#39; - 1) + &#39; .........JOKE OF THE YEAR&#39;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b1ba3a90013" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>