<?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: Atul Sharma</title>
    <description>The latest articles on DEV Community by Atul Sharma (@attull).</description>
    <link>https://dev.to/attull</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%2F461263%2Fbfa96e33-b691-4676-a308-49237295ef22.jpeg</url>
      <title>DEV Community: Atul Sharma</title>
      <link>https://dev.to/attull</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/attull"/>
    <language>en</language>
    <item>
      <title>A question I usually ask in interviews..</title>
      <dc:creator>Atul Sharma</dc:creator>
      <pubDate>Fri, 30 Jun 2023 19:55:05 +0000</pubDate>
      <link>https://dev.to/attull/a-question-i-usually-ask-in-interviews-5gcp</link>
      <guid>https://dev.to/attull/a-question-i-usually-ask-in-interviews-5gcp</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--V1gceOpX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/41wy8s54w6qc1tmfp1nw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--V1gceOpX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/41wy8s54w6qc1tmfp1nw.png" alt="Image description" width="800" height="401"&gt;&lt;/a&gt;"Do you understand React's life cycle"? The answer is very often a confident "yes".&lt;br&gt;
But maximum students failed to explain to them when it comes to the functional component.&lt;/p&gt;

&lt;p&gt;Some common questions that one can prepare on useEffect hook:-&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What are side effects, and how can we perform side effects in React?&lt;/li&gt;
&lt;li&gt;How can we perform unMounting in functional components, and why is it required?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Check the image to see six ways one can use useEffect() hook.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>react</category>
    </item>
    <item>
      <title>Are you preparing for a JavaScript interview? 🤔🤔</title>
      <dc:creator>Atul Sharma</dc:creator>
      <pubDate>Sun, 25 Jun 2023 13:34:28 +0000</pubDate>
      <link>https://dev.to/attull/are-you-preparing-for-a-javascript-interview-4eih</link>
      <guid>https://dev.to/attull/are-you-preparing-for-a-javascript-interview-4eih</guid>
      <description>&lt;p&gt;Here are some commonly asked JavaScript questions to help you shine in your frontend interview! 💻&lt;/p&gt;

&lt;p&gt;➡️ What are the different data types in JavaScript?&lt;br&gt;
➡️ Explain the concept of hoisting in JavaScript.&lt;br&gt;
➡️ What is the difference between null and undefined in JavaScript?&lt;br&gt;
➡️ How does prototypal inheritance work in JavaScript?&lt;br&gt;
➡️ What are closures in JavaScript and how are they used?&lt;br&gt;
➡️ Explain the concept of event delegation in JavaScript.&lt;br&gt;
➡️ How does the "this" keyword work in JavaScript?&lt;br&gt;
➡️ What are higher-order functions in JavaScript?&lt;br&gt;
➡️ Explain the difference between synchronous and asynchronous programming in JavaScript.&lt;br&gt;
➡️ How do you handle errors in JavaScript? What is the purpose of try-catch blocks?&lt;br&gt;
➡️ What are the different ways to create objects in JavaScript?&lt;br&gt;
➡️ Explain the concept of callback functions in JavaScript.&lt;br&gt;
➡️ What is the difference between let, const, and var in JavaScript?&lt;br&gt;
➡️ How does the event loop work in JavaScript?&lt;br&gt;
➡️ What are arrow functions in JavaScript? How do they differ from regular functions?&lt;br&gt;
➡️ Explain the concept of closures and their practical uses.&lt;br&gt;
➡️ What is the purpose of the bind, call, and apply methods in JavaScript?&lt;br&gt;
➡️ How do you handle asynchronous operations in JavaScript? What are Promises and async/await?&lt;br&gt;
➡️ Explain the concept of debouncing and throttling in JavaScript.&lt;br&gt;
➡️ What are the different ways to manipulate the DOM in JavaScript?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>react</category>
    </item>
    <item>
      <title>The Secret to High-Performance React Applications !</title>
      <dc:creator>Atul Sharma</dc:creator>
      <pubDate>Sun, 11 Jun 2023 11:10:37 +0000</pubDate>
      <link>https://dev.to/attull/the-secret-to-high-performance-react-applications--1i52</link>
      <guid>https://dev.to/attull/the-secret-to-high-performance-react-applications--1i52</guid>
      <description>&lt;p&gt;Have you ever wondered how React manages to update the user interface so seamlessly, only rendering the necessary changes without reloading the entire page?&lt;br&gt;
That's where React Reconciliation and DOM Diffing come into play!🌟&lt;/p&gt;

&lt;p&gt;⚡ &lt;strong&gt;React Reconciliation:&lt;/strong&gt;&lt;br&gt;
React Reconciliation is the powerful algorithm behind React's virtual DOM, making it lightning-fast and incredibly efficient. When a component's state or props change, React uses Reconciliation to analyze the difference between the previous and new virtual DOM representations.&lt;/p&gt;

&lt;p&gt;💡 &lt;strong&gt;DOM Diffing:&lt;/strong&gt;&lt;br&gt;
DOM Diffing, a key part of Reconciliation, is the process of determining the minimum set of changes required to update the actual DOM based on the changes in the virtual DOM. Instead of re-rendering the entire UI, React identifies the specific parts of the DOM that need updating, reducing unnecessary computations and optimizing performance.&lt;/p&gt;

&lt;p&gt;🔬 &lt;strong&gt;How does it work?&lt;/strong&gt;&lt;br&gt;
React compares the old and new virtual DOM trees, identifying the differences or "diffs" between them. It then applies only those specific changes to the actual DOM, resulting in efficient updates and minimal rendering. This approach eliminates redundant operations, dramatically improving performance even in complex UIs.&lt;/p&gt;

&lt;p&gt;It allows for a smooth user experience, even with large-scale applications, as updates are intelligently handled without disrupting the entire UI. Understanding these concepts empowers developers to write cleaner, more efficient code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/feed/update/urn:li:activity:7072148578101526528/"&gt;Source&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>react</category>
      <category>interview</category>
    </item>
    <item>
      <title>Why it's so hard to write a single page application(SPA) with just vanilla JavaScript?</title>
      <dc:creator>Atul Sharma</dc:creator>
      <pubDate>Wed, 07 Jun 2023 17:10:29 +0000</pubDate>
      <link>https://dev.to/attull/why-its-so-hard-to-write-a-sing-page-applicationspa-with-just-vanilla-javascript-k7j</link>
      <guid>https://dev.to/attull/why-its-so-hard-to-write-a-sing-page-applicationspa-with-just-vanilla-javascript-k7j</guid>
      <description>&lt;p&gt;Front-end web applications are all about&lt;br&gt;
-&amp;gt; Handling data + displaying data in a user interface.&lt;br&gt;
-&amp;gt; User interface needs to stay in sync with data&lt;/p&gt;

&lt;p&gt;Building a complex frontend with vanilla javascript alone requires a large amount of direct DOM manipulation and traversing .&lt;/p&gt;

&lt;p&gt;1.Our code would be extremely complex and really hard to understand and we will probably just end up with a huge mess of entangled spaghetti code.&lt;br&gt;
2.Typically in vanilla javascript apps state such as simple text or numbers are oftentimes simply stored right in the DOM. So right in the HTML elements itself rather than in a central place in the application.&lt;/p&gt;

&lt;p&gt;The result is that we end up with many parts of the app accessing and changing that Dom state directly, which makes the spaghetti code even harder to understand and it will most certainly introduce many bugs into our application.&lt;/p&gt;

&lt;p&gt;So basically frameworks like Angular, React or Vue take this hard work of synchronizing data with the user interface away from developers.&lt;br&gt;
&lt;a href="https://www.linkedin.com/feed/update/urn:li:activity:7072130404475891712/"&gt;Source&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>interview</category>
      <category>webdev</category>
    </item>
    <item>
      <title>React developer - Interview Experience</title>
      <dc:creator>Atul Sharma</dc:creator>
      <pubDate>Sat, 27 May 2023 11:04:16 +0000</pubDate>
      <link>https://dev.to/attull/react-developer-interview-experience-33a2</link>
      <guid>https://dev.to/attull/react-developer-interview-experience-33a2</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dnG1AmMV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n5vau7px93fzw5rf3i5p.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dnG1AmMV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n5vau7px93fzw5rf3i5p.gif" alt="Image description" width="250" height="250"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interview questions are:-&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1)To create form in html and javascript&lt;br&gt;
2)What is DOM?&lt;br&gt;
3)HTML tags &lt;br&gt;
4)Flex properties&lt;br&gt;
5)What is component and write it. How to call components from one component to another&lt;br&gt;
6)What is ES6 and properties&lt;br&gt;
7)What is redux?&lt;br&gt;
8)What is callback and promises&lt;br&gt;
9)How many ways to give style in html document &lt;br&gt;
10)How to use style in javascript&lt;br&gt;
11)Write is different between class and function components&lt;br&gt;
12)Write one class component and function components...&lt;br&gt;
13)What is different between let const and var&lt;br&gt;
14)Brief explanation about project you done&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Love to see the answers of this in comments&lt;/strong&gt;&lt;/em&gt; 🥸&lt;/p&gt;

</description>
      <category>interview</category>
      <category>webdev</category>
      <category>career</category>
      <category>react</category>
    </item>
    <item>
      <title>React Redux - Lets Do It</title>
      <dc:creator>Atul Sharma</dc:creator>
      <pubDate>Sat, 27 May 2023 10:47:06 +0000</pubDate>
      <link>https://dev.to/attull/react-redux-series-47hj</link>
      <guid>https://dev.to/attull/react-redux-series-47hj</guid>
      <description>&lt;p&gt;When you finally understand and confident in React-Redux . &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IFgT_h93--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i6nxzyu6ku6v84of6y88.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IFgT_h93--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i6nxzyu6ku6v84of6y88.gif" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Stay tuned, I will come back with Project implementation using React-redux.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Comment out your ideas for Redux project.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>react</category>
      <category>redux</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
