<?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 Vishnu Vardhan Reddy Chaparapu on Medium]]></title>
        <description><![CDATA[Stories by Vishnu Vardhan Reddy Chaparapu on Medium]]></description>
        <link>https://medium.com/@chaparapu.vishnu?source=rss-19e0605884ae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XjQ73aIguGvpm9CmhHuqTg.png</url>
            <title>Stories by Vishnu Vardhan Reddy Chaparapu on Medium</title>
            <link>https://medium.com/@chaparapu.vishnu?source=rss-19e0605884ae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 08:06:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chaparapu.vishnu/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[Into Google and Beyond | Interview Experience | Software Engineer]]></title>
            <link>https://medium.com/@chaparapu.vishnu/into-google-and-beyond-45ac67a72883?source=rss-19e0605884ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/45ac67a72883</guid>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[journal]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Vishnu Vardhan Reddy Chaparapu]]></dc:creator>
            <pubDate>Sat, 05 Mar 2022 06:55:45 GMT</pubDate>
            <atom:updated>2022-03-12T08:05:07.251Z</atom:updated>
            <content:encoded><![CDATA[<h3>Into Google and Beyond 🚀</h3><h4>My Journal of experiences before, during, and after the Google interview process. Loaded with tips and things to avoid.</h4><p><em>Let me set the context straight. This is neither a </em><strong><em>How to?</em></strong><em> guide for joining </em><a href="https://medium.com/u/be36e94a7e47"><em>Google</em></a><em> nor a detailed GeekForGeeks style </em><strong><em>Interview experience</em></strong><em>. I stripped out the questions and mentions of people associated with the process. The questions are confidential in </em><a href="https://medium.com/u/be36e94a7e47"><em>Google</em></a><em> interviews. Also, they tend to be quite novel &amp; rarely repeat, hence it does no help stating them.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*21cNhkhgWjVmqLaeB1WReA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@sushioutlaw?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Brian McGowan</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Google needs no introduction, but I do. I am <a href="https://www.linkedin.com/in/vishnu-vardhan-reddy/">Vishnu</a>, currently a Software Engineer (<strong>SWE</strong> in short) at <a href="https://medium.com/u/4f3f4ee0f977">Google Cloud</a> (Networking Team). And <strong>Full-stack</strong> by profile. I worked at <a href="https://medium.com/u/c63362966c50">Rupeek</a> and CarWale, where I was fortunate to have worked with good teams and managers.</p><h3>Before Google</h3><p><em>The year 2020/2021: </em>This isn’t a great year professionally. After almost two years I started feeling my growth from a career standpoint as well as financial standpoint has started to flatten out. I did try a few things to make it better but none worked.</p><p><em>April 2021: I h</em>ad a bit of a personal crisis. Along with health issues amid pandemic — not a great start of the FY — who am I to complain, I have heard of ~7 deaths in my relatives and acquaintances. But this is the first time started thinking about going out of CarWale.</p><p><em>May 2021: </em>It had been ~3.5 years since my placement interview at CarWale — the last time I ever prepared for one. I am blank at this point. Had a lot of questions popping up, where to apply? what companies to apply to? Amazon recruiters contacted me via LinkedIn to check if I am interested in trying. But I am sure LinkedIn would be the right place to start a job search. I started consulting my friends who have been giving interviews. Got to know about <a href="https://www.naukri.com/">Naukri</a> for the first time. I had to start dusting my DSA basics and bulking up my resume.</p><blockquote><em>Maintain track of significant contributions and achievements at work in a journal. Apart from the award I have received at work, I don’t remember anything significant to keep in my resume. And it is not that I haven’t had an impact. A journal would have helped a lot.</em></blockquote><p><em>June 2021</em>: <a href="https://www.naukri.com/">Naukri</a> is a great site to find job listings. I got a lot of calls from recruiters. For a month till I stop listing on Naukri I got ~4 calls a day. The quality is not that good. Also, I attended a lot of interviews. Thought most of them went sideways after HR due to my salary expectations and a few who didn’t care to contact.</p><p><em>22nd June 2021</em>: I got my first satisfactory offer as a Software Development Engineer II (<strong>SDE II</strong> in short) and then immediately resigned. Though I did not stop trying after that, I increased the bar for companies (LinkedIn seems to do well when one is picky about the companies) to top startups (mostly companies with ~6 years since inception) and a few MNCs.</p><blockquote><em>Being good at programming languages, Software design and, DSA knowledge helped me to clear almost all the interviews during the first phase of companies.</em> <strong><em>Cracking the Coding Interview (Indian Edition) by Gayle Laakmann McDowell</em></strong>, <a href="https://www.youtube.com/user/mycodeschool"><em>mycodeschool</em></a>, and <a href="https://www.geeksforgeeks.org/"><em>GeekForGeeks</em></a>(use this as a reference) can help in developing DSA Knowledge.</blockquote><p><em>9th July 2021</em>: <strong>The first contact, </strong>Google recruiter for the first time contacted me via LinkedIn. Google being Google and also me a fanboy of Google products since childhood said <strong>Yes</strong> after some thought. I kept Google separate from all other companies even top MNCs in my bucket irrespective of size &amp; salary. To be honest, I had a lot of bias towards Google.</p><p><em>13th July 2021</em>: On the<strong> first phone call</strong>, the Google recruiter call me to discuss my profile. She explained the process and other things, though most of those things did not stay in my head. She then shot a mail to brief me about the process and schedule the first interview (Telephone round). The mail that she sent has enough resources to keep me busy preparing even for six months 😮.</p><blockquote>Google Process: Recruiter Prescreen → Phone Interview <em>(1~2 sessions)</em> → Onsite Interview <em>(4~5 sessions, DSA and Googleness Rounds)</em> → Hiring Committee Review → Offer Review → Offer Delivery <em>(Woohoo!)</em></blockquote><p><em>22nd &amp; 23rd July 2021</em>: I cleared Rupeek that I had handpicked from the list of startups that are hiring. I even got an SDE II offer ~15% high than my previous one which already is way higher than the salary I am drawing back then. The other company tried to make me stick with them. I had discussions with them and even with their Co-founder. They were even ready to increase the salary over the top of the latest offer. Though, I am still not sure why they were ready to such an extent). I choose <a href="https://medium.com/u/c63362966c50">Rupeek</a> because of its good engineering culture, tech stack. Also, it is a startup so I felt that would be right for my growth expectations hence I stuck with <a href="https://medium.com/u/c63362966c50">Rupeek</a>.</p><h3>Google Interview process</h3><p><em>11th Aug 2021(</em><strong>Phone Interview</strong><em>)</em>: I started ramping up at Rupeek (Joined on <em>26th July 2021</em>) the past few days and it’s time for my first interview. After joining Rupeek, I laid back and chilled out most of the time. I was in the opinion that I could always try post 6 months (I am always like that, post achieving something I tend to relax). The interview is 45 mins long. The interviewer asked me a medium and a hard question by LeetCode standard. Thanks to my preparations before joining Rupeek and the recruiter’s guidance during the month I cleared it. Though not with flying colors. Later the recruiter came back to me with detailed feedback and areas of improvement that she felt. And also to schedule the onsite interviews.</p><blockquote>Parameters based on which interview is judged: Code Readability, Communications, Robustness of Code (expects no bugs), Performance of Code (Time and Space complexity), # of hints given by interviewer (less is better)</blockquote><p><em>30th Aug 2021(</em><strong>Round One</strong><em>)</em>: The recruiter suggested taking adequate time to prepare for the onsite interviews. She mentioned people generally take ~2 weeks to prepare. Me being impatient did not go beyond what the recruiter has suggested. But this time I prepared for the interview. And the <strong>D day</strong> has arrived. The interviewer asked questions on arrays. The question is medium at first glance. But the optimization made it a hard one, involving a combination of Heaps and Math. With a small hint, I was able to solve it to the best possible performance. In the end, the interview went well (I rate <strong>4</strong>/5) but due to lack of time I could not simply the code thought correct.</p><blockquote><a href="https://leetcode.com/"><em>Leetcode</em></a> and company-tagged <a href="https://www.geeksforgeeks.org/"><em>GeekForGeeks</em></a> questions are good to start with for interviews preparation. Do keep a clock handy to measure the time it takes. Keep a target of 15~20 min time for Medium and 25~30 for hard.</blockquote><p><em>1st Sept 2021 (</em><strong>Round Two</strong><em>)</em>: Postponed.</p><p><em>3rd Sept 2021(</em><strong>Round Three</strong><em>)</em>: The interviewer asked a medium question on Graph DFS &amp; BFS application. The structure made me waver at the start. Along with the solution I was also asked and tested based on how I designed the function and classes. Not a typical DSA interview. Post that a hard question which is based on Trees is asked. But knowing to use trees itself took some time. I used a lot of time on the medium question. In the end, even though I got the approach to solve it after some brainstorming I could not write code for that in time. This one ended on a negative note (I rate it <strong>2</strong>/5).</p><blockquote>As I mentioned earlier Google questions tend to be novel. Being good with basics and solving a variety of questions would help in the interview. Also, keep track of time during the interview. Unlike a standard interview which is ~1hour, a Google interview is ~45mins long. Rarely, you’ll get a pass even if you are not able to complete the code for the hard question.</blockquote><p><em>6th Sept 2021(</em><strong>Googliness and leadership — G&amp;L — round</strong><em>)</em>: Analogous to a hiring manager round. Most of the discussion was around the projects where I have displayed leadership capabilities. I would say it is a casual round. To my surprise, even though I have a project where I displayed leadership potential, the interviewer did not feel the same. I got to know from the recruiter. (PS: After joining Google I got to know people who are founders of companies before joining Google and are now at L4. Not sure what the bar is 😐).</p><blockquote>In the end, the G&amp;L round is a lot subjective than any other and depends on how well one sells his achievement. There isn’t much one could do, as this is more of showcasing yourself round, so do that well.</blockquote><p><em>7th Sept 2021(</em><strong>postponed Round Two</strong><em>)</em>: Questions are around Trees, one medium and hard level. I did it okayish (I rate <strong>3</strong>/5), struggled a bit with the interviewer&#39;s accent.</p><p>Post the completion of all the rounds, the recruiter felt like making a team fit rather than proceeding to Hiring Committee (<strong>HC </strong>in short). I had a team fit with a <a href="https://medium.com/u/4f3f4ee0f977">Google Cloud</a> team on <em>6th Oct 2021. Y</em>es, I agree that was a huge delay. Due to a lack of relevant experience, the hiring manager felt the role doesn’t quite suit me. After which the recruiter without delay forwarded my entire packet to HC review. I gave a detailed write-up of my background information like experience, promotions, internal references, achievements, previous interviews with Google, and academic details to include in the packet. The recruiter gave me the format.</p><p><strong>The HC decision</strong>: It’s a <strong>HOLD </strong>— <strong>t</strong>he recruiter before this briefed me up with all ways the thing can go (<strong>HIRE</strong>, <strong>REJECT</strong> and <strong>HOLD</strong>) — I had this coming. I know I did not do up to the mark and was content with the HOLD decision. So nothing surprising here. In case of a HOLD, I would have to give extra interviews. The recruiter scheduled another 2 interviews again and suggested I take at least 2 weeks to prepare. I went with the least(again me being impatient). This time I was dead serious 😤. It’s been ~3.5 months since the process started. If I failed now it would be like waiting ~1 year (since the process of the first attempt started) for the next attempt. Not to mention the recruiter’s effort going in vain.</p><p><em>2nd half of Oct 2021(</em><strong>Extended rounds prep</strong><em>)</em>: I being at the peak of my focus 🧐, used everything in my arsenal. I started with reviewing my basics from <a href="https://www.geeksforgeeks.org/">GeekForGeeks</a>. Also, I subscribed to <a href="https://leetcode.com/subscribe/">LeetCode Premium</a> to get access to exclusive questions and content.</p><blockquote><a href="https://leetcode.com/subscribe/"><em>LeetCode premium</em></a> is a great source of exclusive questions and solution videos. Better subscribe to it for short period during the interview process.</blockquote><p><em>2nd Nov 2021 (</em><strong>Round 4</strong><em>)</em>: Postponed.</p><p><em>2nd Nov 2021 (</em><strong>Round 5</strong><em>): </em>Both the round are one after another (again me being impatient) but one got postponed. In this round questions are on arrays focused on logic rather than DS Knowledge. The simple logical question then became a medium-to-hard backtracking question after extension. I solved it spot one. (I rate <strong>4</strong>/5). I missed one edge case, thankful even the interviewer ignored that.</p><p><em>8th Nov 2021 (</em><strong>postponed Round 4</strong><em>): </em>It seems I have something with even-numbered rounds. All got postponed. This time the question is on strings, you read it right, it is a simple string-based question. The interview twisted it a bit later. And to solve that I came up with a solution based on Graph cycle detections, BFS, and DFS traversal. I at the end solved it even before the time limit (I rate <strong>4</strong>/5). I got to know from a recruiter that the interview went well and was in line with my judgment. But the interview felt that the solution is a bit complex and <strong>might </strong>(focus on <strong>might</strong>) not work on scale. It’s an ambiguous question though.</p><blockquote>Almost at every point, I was able to judge my performance in the interview to match that of the interviewer. It is good to be able to do it, it helps in identifying shortcomings. I did not do anything specific to achieve that. Probably me being on the other side of the table helped. I am sure <a href="https://www.interviewbit.com/mock-interview/">mock interviews</a> will help achieve this.</blockquote><p><em>12th &amp; 15th Nov 2021 (</em><strong>Team fit</strong><em>)</em>: The recruiter scheduled a team fit round. And also enquired about my salary expectation post team fit. The team fit this time is a success. I got all the relevant information about the role. And it is quite like one I had in the past. The HM liked my profile a lot this time.</p><p><em>19th Nov 2021 (</em><strong>HC Decision </strong>and <strong>Initial Offer</strong><em>)</em>: She sent the updated packets to HC review with Team fit results. The HC decision is <strong>HIRE. </strong>The recruiter without any delay notified me of the same along with the Initial Offer. Though the result is HIRE, it is a lower position than that is interviewed for (L3 against L4). So the offer is no way near my expectations. Leaving behind the equity part the salary was more or less the same as that I got in Rupeek. As I am no expert in negotiations, I let her know my opinions.</p><p><strong>Final Offer</strong> <em>(22nd Nov 2021)</em>: After discussing with the comp team. She gave the best offer she can come up with. This time it is better and seems to be on the upper band of L3. But in the end, I <strong>Accepted</strong> it.</p><h3>Conclusion</h3><p><em>Google interview is for sure a long journey, ~2 months for most, and in my case, it is even higher ~4 months. Apart from the interviews postpone everything went smoothly. Even the interview postponement is communicated prior. During the entire process, I never felt overwhelmed thanks to my recruiter. The reason I was able to crack it is thanks to my recruiter, friends, and family support throughout the process. In my perspective, Google interviews a candidate with a motive to hire rather than reject. It also supports the candidate throughout the process — another reason to not feel overwhelmed.</em></p><p>For those who found this article helpful share the story with your connections. Please give your feedback in the comments section below, ping me on <a href="/service/mailto:chaparapu.vishnu@gmail.com">Email</a> or <a href="https://www.linkedin.com/in/vishnu-vardhan-reddy/">LinkedIn</a>.</p><p><a href="https://www.linkedin.com/in/vishnu-vardhan-reddy/">Vishnu Vardhan Reddy Chaparapu - Software Engineer - Google | LinkedIn</a></p><h4>Resource Link</h4><p><a href="http://bigocheatsheet.com/">Big O Cheatsheet</a></p><p><a href="https://www.geeksforgeeks.org/">Geek for Geeks</a> — Data structure and algorithms reference</p><p><a href="https://leetcode.com/problemset/all/">Leetcode</a> — Practice questions</p><p><a href="https://www.interviewbit.com/google-interview-questions/">Interview bit</a> — Google questions and also mock interviews</p><p><a href="https://www.youtube.com/user/mycodeschool">My Code School</a> — Data structure and algorithms explained visually</p><p><a href="http://pramp.com/">pramp.com</a> or<a href="https://interviewing.io/"> interviewing.io</a> — Mock interviews. (I don’t have first-hand experience with these)</p><h4>Other Posts</h4><p><a href="https://medium.com/@chaparapu.vishnu/a-new-perspective-on-building-the-web-pwa-react-7128ad4ec201">A new perspective on building the Web 😎 w/ PWA in React</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45ac67a72883" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A new perspective on building the Web  w/ PWA in React]]></title>
            <link>https://medium.com/@chaparapu.vishnu/a-new-perspective-on-building-the-web-pwa-react-7128ad4ec201?source=rss-19e0605884ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/7128ad4ec201</guid>
            <category><![CDATA[component-libraries]]></category>
            <category><![CDATA[service-worker]]></category>
            <category><![CDATA[product]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Vishnu Vardhan Reddy Chaparapu]]></dc:creator>
            <pubDate>Sat, 15 Feb 2020 12:04:54 GMT</pubDate>
            <atom:updated>2022-03-05T06:57:37.840Z</atom:updated>
            <content:encoded><![CDATA[<h4>My <strong>experience </strong>in rebuilding a website (mobile platform)on React and making it a PWA (Web Application that works on Browser and is Capable of Working offline).</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mCEcXgO85U1fFSRV1hUJbw.jpeg" /></figure><h4>Why build on React (or other Component Frameworks)?</h4><p>I am not going to explain the technical prowess or the robustness of React, but I would like to share why putting in efforts to move into technology like React makes sense.</p><p>Here are the major problems, which I believe not only us, but many sites face, they are <strong>Consistency</strong>, <strong>better Product Development</strong>, <strong>Design updates</strong>, and <strong>Performance</strong>. Let me explain to you one by one.</p><ul><li><strong>Consistency</strong>: This is a far bigger problem than one can acknowledge. In terms of design or experience, it is vital to have uniformity. Having varied experiences for the same element (for example consider how a Button looks) means you are breaking previously association a user builds with that particular UI/UX component every time the user uses it, and the same goes for having multiple technical approaches for the same element means having to maintain more code (believe me it’s a pain whenever we need to optimize or build new features on it)</li><li><strong>Product Development</strong>: A general product development life cycle is: Design -&gt; Build UI/UX -&gt; Integrate UI/UX with Data Source -&gt; UAT -&gt; Refinement or Release. Unless one is a Full Stack Developer, he/she can’t develop the entire product. Even in the case of Full Stack developers, few are experts in building all UI/UX elements. The product is hence built by multiple developers, one developer building the UI/UX elements required and another using it. Many times, the code developed by one person would later be modified by another, sometimes leading to a major rework and increasing the <strong>TAT </strong>(turn around time) of the product. At times, because of the product deadline, a developer consuming the code written by another would mess it up unintentionally.</li><li><strong>Design updates and Revamps</strong>, One thing is for sure, design thought consistent will change over time, an element such as a Button, may not look and react the same way throughout its lifetime. No designer can say that he/she will design the UI/UX of Button and keep it the same. Design transformations happen all the time. <strong>Design is a function of user behaviour</strong>. Like I have mentioned earlier, having multiple codes and designs means various changes are required in several places leading to employing extra time and energy.</li><li>The <strong>performance </strong>of a website is how fast it loads and reacts to user input — be it a button click, page scroll, or other interaction. Performance though the last to discuss, is an essential one. No user likes to have a laggy experience. I am not talking about a lightning-fast page load or response, but a smooth experience. Even if displaying data takes time, it is fine, but the user should not have a bad experience. Alternatively, one can consider showing loaders meanwhile. We can talk more about performance later.</li></ul><p>Enough of Problems 😤, let’s move on to the <strong>HOW </strong>and <strong>WHAT </strong>part of the Story.</p><p>The idea is to develop a single piece of code for a specific need and use it everywhere.</p><blockquote>Build once. Use Everywhere.</blockquote><p>For this, we set out to build a code library that will be used across platforms, if possible, the entire organization (multiple websites). For this, we require Design guidelines and the Technology that powers it. We are lucky to readily have the Design guidelines. Then we began building the React Component library (called Oxygen). For those who are not familiar with a React component, a component is the basic building block of a React App ( or other frameworks like Angular, Vue). Consider an example of a Button component. This component takes care of how a button looks and responds to User Interaction.</p><p>For those looking to save time developing an in-house UI/UX library, I suggest you take a look at the existing ones and consider using them. It will save a hell of a lot of time and thought process, later you can even modify it as per your need.</p><blockquote>Components should do <strong>one </strong>thing, and it should do it well. <strong>Simple </strong>and <strong>Robust</strong>.</blockquote><p>React follows the best-in-class design and many best practices. The component architecture in React (and other frameworks like Angular, Vue) is the best one out there. In React, a component has a single responsibility, and it should perform it well. The Single Responsibility Principle (<strong>SRP in short</strong>) is one thing that can’t be compromised in react architecture. Moving away from the <strong>SRP </strong>principle, makes code more buggy and applications less reliable.</p><p>Specifying a component responsibility not only needs the mind share of a developer or a team of developers but also of multiple stakeholders involved. Consider the example of a button (a CTA, call-to-action) whose text is configured by a non-technical team member (might be the PO, Product Owner, or other stakeholders). Here, there are some unknown parameters involved, such as length of text, the scope of which is beyond the control and knowledge of a developer. Hence we need the involvement of PO, Designer, and Developer to sit and define the responsibility. Whether it should be handled by limiting the amount of the text, truncated as per the size of the screen, taking it to the next line, or it might even be the case that it isn’t the responsibility of the Button component. Components are built for simple requirements such as a button or an image. Then Complex UI can be built by composing all such simple components.</p><h4>How this component architecture of React solves our problems?</h4><p><em>I might not go deep into all aspects, but I have placed references where you can go in-depth into things I have mentioned here.</em></p><p>You might have already figured it out.<strong> </strong>If<strong> </strong>we need one thing to look and behave (<strong>Consistency</strong>) the same, build a component, and use the same everywhere. There is one technical problem that we faced after the onset of our journey. There were multiple scenarios where the same CSS class names were used for applying different styles. The issue here is that a component controls the function but not it’s appearance.</p><p>We started moving styling into components using styled-component and styled-design systems. One more problem! We had a hit on the page load time because of more computation on both server and client to compute the styling from JS. For now, keeping the performance issues aside, which we have optimized later (a topic to discuss in another story). But initially, we went ahead with a few issues as the flexibility and power we are getting make the performance concerns pale — a trade-off worth making for the moment.</p><pre>&lt;div&gt;<br>  &lt;Button size=&#39;large&#39; mr={2}&gt;<br>    I&#39;m a Large Button<br>  &lt;/Button&gt;<br>  &lt;Button size=&#39;medium&#39; mr={2}&gt;<br>    I&#39;m a Medium Button<br>  &lt;/Button&gt;<br>  &lt;Button size=&#39;small&#39;&gt;<br>    I&#39;m a Small Button<br>  &lt;/Button&gt;<br>&lt;/div&gt;</pre><figure><img alt="Different button sizes as per design guidelines." src="https://cdn-images-1.medium.com/max/732/1*z6x4n_jJ9F5VQgDtId1j4Q.png" /><figcaption>Button size consistent across the site</figcaption></figure><p>Finally, a component is complete — more versatile and robust. It handles all the aspects of the product — be it functionality or appearance. HTML-in-JS and CSS-in-JS made this possible.</p><p>In terms of <strong>Product development,</strong> if you see the cycle from before once again below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*4giigiIvTIRkoSJ4Zul0Lg.png" /><figcaption>Work Flow Before 😏</figcaption></figure><p>becomes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*j8B-iPzOzeDhMtZJCc7vkA.png" /><figcaption>Component Work Flow</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*ed5YWW8Q7wSHAa4gaa7cGg.png" /><figcaption>Product Work Flow 😮</figcaption></figure><p>Now, broken down into two smaller cycles with better TAT and shorter scope. Each part handled by masters in the respective domain. A total separation of concerns of UI/UX building and product. With all the building blocks in place via the Oxygen library, a new product might not even require the first cycle and step to the second one. One story (add a badge to a card ) that took around 3 points (2 days of development time) now takes 1 point of effort (30 min of development time). Even if corresponding components are not available, we can build them separately with two stories (like 3 and 1 point of effort instead of the previous 5 points). Hence Product development made more <strong>agile</strong>.</p><p><strong>Design update:</strong> To update the design, one needs to update the component.As simple as that. All the change happens fast and seamlessly irrespective of the number of iterations in design. React’s component architecture makes the entire website modular. Any part of the website can be optimized or revamped without affecting other parts.</p><p>Even chore activities become easy. Component or code once written is not perfect at its initial deployment, they evolve over time, with architecture so modular and simple it promotes code optimations. For example, consider an Image component that takes care of lazy loading the image(downloading an image when a user sees it or is about to). We changed the way we implement this feature in ~2 days of development time, which otherwise would take ~1 week to go check if it works in multiple places and environments. In this example, the boon is that a component is isolated from the outside world. Hence the scope of limited because of the component architecture.</p><p><strong>Performance </strong>per se React itself is not a good thing to use. Browsers are not good at processing JavaScript. They use a lot of CPU which impacts the speed<strong> 🕖 </strong>and power/battery (I am considering mobile devices as they generally don’t have high-end specs) of the devices. But, one thing for sure is we can’t build a good interacting website without the help of JavaScript. One logical solution to it is reducing the amount of JavaScript required. By using frameworks like React and other tools like Webpack it is possible to build a Single Page Application and dynamically load JavaScript and other assets required when required. This way you can prevent the download and loading of common JavaScript assets on every page. Not to mention all those heavy third-party plugins that are loaded for analytics and other purposes. But this concept of having a single page load and the further page would be like a swift change in content. This can further be optimized, with the addition of ServiceWorker. Though the page loads only once, a returning user will have to go through the same process again and again. We can cache the content with ServiceWorker thereby reducing the frequency of slowness (page loads). Now, once the user visits the website his/her subsequent page visits will be smooth — the user’s device neither needs to process the common code that is present on all the pages nor the heavy third-party (🤛) libraries that are present — as it just downloads page specific assets and data in our case it is around ~30KB (most of the pages) of JavaScipt👍, 5–10KB of Data, no CSS as we use CSS-in-JS, and subsequent ads. When compared to initial js which is in order of MB’s 👎(1MB = 1024KB) this is minuscule.</p><p>By a ServiceWorker for precaching (downloading assets of Page and maintaining them on client device so it is available offline and update when network is available), the common JavaScript can be cached which would enhance returning User Experience. In the case of static pages, we can cache pages on page level (entire Document) thereby enabling the user to use the page offline. Just imagine you are travelling (esp. in Mumbai Local when the internet is never available) and you can even read the news 📰 content that you have bookmarked (or Trending articles which can be cached without user intent) during your busy workday, all without the internet and apps like Pocket. Just as you reach home you can read other news/articles.</p><p>The four major problems that we faced — <strong>Consistency</strong>, <strong>Design Enhancement</strong>, <strong>Product Development</strong>, and <strong>Performance </strong>— interestingly have one solution, as seen above. Using Frameworks like React is not just a change in tech stack but a change in the way the product is built and perceived on all fronts. All the best, to those who are amidst this evolution process.</p><p>For those who found this article helpful, please share your valuable feedback in the response section below or <a href="/service/mailto:chaparapu.vishnu@gmail.com">Email</a>/<a href="https://www.linkedin.com/in/vishnu-vardhan-reddy/">LinkedIn</a>. For those who didn’t, consider sharing feedback regarding the same.</p><p>Thanks, <a href="https://medium.com/u/91aaf87f12a9">Darshan Kadu</a>, <a href="https://medium.com/u/bc119f881a39">Meet Shah</a>, <a href="https://medium.com/u/b48b7af7a315">Jitendra Solanki</a>, and <a href="https://medium.com/u/d7c93759cba7">Dutiyesh Salunkhe</a> for helping make this article better.</p><p>Thanks for Cover Photo by <a href="https://unsplash.com/@pawelskor?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Paul Skorupskas</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a> and <a href="https://medium.com/u/d7c93759cba7">Dutiyesh Salunkhe</a> for recommending it.</p><h4>Check out my other stories</h4><p><a href="https://medium.com/@chaparapu.vishnu/into-google-and-beyond-45ac67a72883">Into Google and Beyond | Interview Experience | Software Engineer</a></p><h4>Related content that you may find interesting</h4><p><a href="https://reactjs.org/">React Documentation</a>, the best place to get started with React</p><p><a href="https://dmitripavlutin.com/7-architectural-attributes-of-a-reliable-react-component/">Architecture guidelines</a> for React.</p><p><a href="https://www.smashingmagazine.com/2016/02/making-a-service-worker/">ServiceWorker</a> — Newbie-friendly article for SW.</p><p><a href="https://appinventiv.com/blog/react-vs-angular/">React vs Angular: What to Choose for Your App?</a></p><p><a href="https://uxdesign.cc/design-principle-consistency-6b0cf7e7339f">Consistency</a> — An in-depth explanation of one of the Key Design principles.</p><p><a href="https://priceline.github.io/design-system/">Priceline Labs</a> — A Simple and Flexible design system.</p><p><a href="https://styled-components.com/">CSS-in-JS</a> — Painless Styling.</p><p><a href="https://calendar.perfplanet.com/2019/the-unseen-performance-costs-of-css-in-js-in-react-apps/">Performance Concerns</a> of CSS-in-JS and how to talk them</p><p><a href="https://hackernoon.com/webpack-the-basics-2712a7ad640b">Webpack BASICS</a></p><p><a href="https://jamie.build/react-loadable.html">Check out how to Dynamically load assets when required</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7128ad4ec201" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>