<?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 Stavan Bhatt on Medium]]></title>
        <description><![CDATA[Stories by Stavan Bhatt on Medium]]></description>
        <link>https://medium.com/@stavanbhatt?source=rss-9cedb2de9c2a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LaZgWsCqTtDXfx531aK0jw@2x.jpeg</url>
            <title>Stories by Stavan Bhatt on Medium</title>
            <link>https://medium.com/@stavanbhatt?source=rss-9cedb2de9c2a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:40:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@stavanbhatt/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[Leaving your first job is “Doubtfully Rational”]]></title>
            <link>https://medium.com/@stavanbhatt/leaving-your-first-job-is-doubtfully-rational-f8ac21a36193?source=rss-9cedb2de9c2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8ac21a36193</guid>
            <dc:creator><![CDATA[Stavan Bhatt]]></dc:creator>
            <pubDate>Fri, 16 May 2025 12:16:40 GMT</pubDate>
            <atom:updated>2026-03-09T10:47:33.228Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zC2EWXY8yulwYWrF13g6_w.png" /></figure><p><strong>Goodbye, Except One, Two or More IDK</strong></p><p>They say leaving a place you love is like finishing your favourite Netflix series: you want to see what happens next, but also – you just don’t want it to end. And yet, here I am. Writing this blog. About to press “Publish” with misty eyes</p><p>Leaving is doubtfully rational. But change? Change is persistent. It shows up like your pull requests comments – uninvited but impossible to ignore. So I’ve decided to lean into it. With gratitude, a touch of drama, and of course, my recurring love-hate declarations.</p><p><strong>Flashback to Day One</strong></p><p>I walked in here a trainee. One of 13 bright-eyed, confused, and mildly terrified folks stepping into the React Native world. We didn’t know what a “production bug” was. We thought Redux was a detergent. And we definitely didn’t know that someday we’d be pushing code to actual live users and worrying about real bugs (which were totally not our fault – except one time).</p><p>From inside jokes during tea breaks [ceramic 🍵 cups] to the slightly panicked energy before demo days, those early training days were golden. We bonded over console logs and middlewares, learning to debug both our code and our lives.</p><p>I like all my fellow trainees – except one. (You know who you are)</p><p><strong>The Onboarding Arc</strong></p><p>Then came onboarding. Like being thrown from the shallow end into the deep ocean – where JIRA Board, Zoho Tasks, Git merge conflicts, and PR approvals live. Suddenly, we were part of something bigger rather than being part of each other. Real projects. Real users. Real “Quick Call” requests that always defined subjective version for <em>quick</em> where quick lies between the range of [5min &lt; <em>quick</em> &lt; 45 mins].</p><p>Working with mentors, leads, and seniors taught me more than just app performance and feature ownership. It taught me how to gracefully smile when someone says, “Can you just enhance this a bit?” – knowing full well it’s a two-day journey into try making new files in VS Code and make sure everything works.</p><p>I like everything about my mentors – except one. That one review where they said “This is okay, but…” and I aged three years.</p><p><strong>The People Part</strong></p><p>This part is always hard to write. The people here aren’t just colleagues. They’re co-creators of inside jokes, defenders of my worst coding habits, and the reason I sometimes I leave the cabin for a Sports Break.</p><p>To the leads who pushed me, the teammates who backed me, the testers (We have a tester hidden inside the tag of a Developer – You know who you are) who found my bugs (why so many though?), and the friends who made sure I never felt like just another Teams Profile Image – thank you. For every review, roast, and ride-along.</p><p>From pretending to be productivity gurus on Teams to turning into literal ghosts on Diwali (yes, that photos still exist), we didn’t just work together – we had fun.</p><p>One Minute,</p><p>Fun pe se yaad aaya, Let’s just ignore all the places that serves Mexican Food in Ahmedabad for team dinners [Hidden Kitchen &amp; RiverWays 🤫], They all deserve the award saying ‘How to deliver trash food expensively’. We made those dinner places feel more like a sitcom cast than a dev team.</p><p><strong>Why Go, Then?</strong></p><p>That’s the thing. I don’t have a dramatic reason. No hidden resentment. Just a persistent whisper of growth, a new adventure calling, and the courage to answer – even while questioning if this is the right time, the right move, the right goodbye.</p><p>Leaving is doubtfully rational. But if I’ve learned anything here, it’s that discomfort often leads to growth – and typos often lead to soft reseting git commits.</p><p><strong>In Parting</strong></p><p>So here’s to all of you – who taught me, tolerated me, tagged me in memes, and shared knowledge like candy. I hope I left something good behind, even if it’s just the legacy of “Except one” jokes, a few clean pull requests, and at least one branch named “final_final_final_fix_really_final”.</p><p>And if you ever think of me, let it be with fondness and a tiny voice in your head that says:</p><p>“I liked that guy… except one time when he wrote a goodbye blog which made us all wonder his dilemma behind his decision”</p><p>Onwards. Always.</p><p>Stavan</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8ac21a36193" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Project Alpha: Help people effortlessly plan their lives]]></title>
            <link>https://medium.com/@stavanbhatt/project-alpha-help-people-effortlessly-plan-their-lives-dcad1e712b89?source=rss-9cedb2de9c2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcad1e712b89</guid>
            <category><![CDATA[humor]]></category>
            <category><![CDATA[revolution]]></category>
            <category><![CDATA[digital-detox]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[social-life]]></category>
            <dc:creator><![CDATA[Stavan Bhatt]]></dc:creator>
            <pubDate>Fri, 08 Nov 2024 12:31:25 GMT</pubDate>
            <atom:updated>2026-03-09T10:45:41.879Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KZr2rL_jJU-hfP_5blwBcw.png" /></figure><h4>The App That Made Us Learn Our Own Lesson</h4><p>1’s (<em>i mean Once)</em> upon a time,<em> 2 friends</em>, let’s keep<em> 3 friends</em> belonging to the same fraternity gathered late night for a cup of tea as they were excited to release their work on the project that they were building for the past couple of months. An app that would make people’s lives a <em>breeze</em>, their personal digital life guru, An app that will one day, join the ranks of apps that became verbs like Google, Uber, and Zoom. <em>Sorry guys, I think i should stop writing this Tollywood hero introduction sequence</em></p><p><strong>Problem Statement:</strong><em> Everyone dreams of a life with fewer distractions, but somehow, notifications find us — like a mosquito at night, utensils clinging in the kitchen or an alarm that someone else forgot to turn off.</em></p><p><strong>Solution:</strong> <em>A Reminder application, aimed to deliver well-timed, relevant reminders that helped people reclaim their attention</em></p><p>The creators of Project Alpha — the three engineers <em>Kott Lynn</em>, <em>Swift Singh </em>and <em>Pie Thong </em>were convinced. They had pictured people everywhere waking up to Alpha’s friendly notifications, going about their days with a little less chaos, and finding productivity.</p><blockquote>But, like most projects with big dreams, Alpha’s early days were memorable.</blockquote><h4><strong>Chapter 1: Feedbacks aren’t insults, *if you’ve positive mindset</strong></h4><p>Project Alpha launched to a modest user base of friends, family, and a few competitive souls from a Gaming Discord channel who’d been too polite to say “no.” The first batch of users eagerly downloaded the app, excited to see what Alpha had to offer.</p><p>But it didn’t take long for Alpha to get a bit <em>too</em> excited about its <strong><em>“new role”</em></strong>.</p><ul><li>Recommend <strong>“Take a deep breath and start Journaling your thoughts”</strong> each time a user opened their bank app</li><li><strong>“Almost time for a pizza party, Sudheer!”</strong> when he was proudly sharing his diet obsession on his first date.</li><li>Then there was the infamous <strong>“Remember to stay grounded”</strong> alert that popped up as one user was getting on a plane.</li></ul><p>Users soon learned that Alpha’s enthusiasm was futile. It once suggested a user <strong>“do a 5-minute meditation”</strong> every time they opened Instagram. Let’s just say the user feedback was… “roundy”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*DDRBtE0kSOXLE-pi.gif" /></figure><h3>Chapter 2: Tweaks &amp; Twerks while Fixing Bugs</h3><p>After a few sleepless nights (<em>because, like all good corporate citizens, they were only truly productive after official working hours</em>) Kott, Swift, and Pie managed to curb Alpha’s notification obsession. They set to work refining its features, hoping to tame its enthusiasm and add a dash of charm.</p><p>The team gave Alpha a “gentle reminders” mode and even infused it with a sense of humor, hoping a bit of personality might smooth things over. Now, instead of nagging users to “sleep more,” Alpha would say things like, <strong>“Hey, just a thought… maybe Netflix could wait until tomorrow?”</strong></p><p>They also added a “smart suggestions” feature that was supposed to predict users’ needs. But the AI had an… interesting learning curve. When a user typed in “feeling overwhelmed,” Alpha cheerfully suggested “organize your sock drawer”. Another user, who was looking for “healthy meal ideas,” was advised “try getting more sunlight”</p><h3>Chapter 3: The Rise to Fame (Sort Of)</h3><p>With its newfound charm, Alpha became a minor cult favorite. People downloaded it not just for its organizational skills but for its unexpected life advice. It once told a user, <strong>“Dance like no one’s watching… but scrub your kitchen and keep it gleaming.”</strong> The internet 🌏 went wild. Memes started popping up. <em>#JustAlphaThings</em> became a trending hashtag.</p><p>People loved the humorous reminders, the odd advice, and the unpredictability of what Alpha might suggest next. As users downloaded it, they found it became a little more personalized with each interaction. It started picking up on people’s patterns, suggesting things like <strong>“Take a five-minute break”</strong> if someone had been working nonstop or <strong>“Time to do laundry and get clothes fine, wash and press till they brightly shine!”</strong> if a bachelor was doom scrolling on bed on a holiday.</p><blockquote>Alpha had become like that friend who gives you pep talks with zero context and even less tact — sometimes helpful, often strange, but always well-meaning.</blockquote><p>After a few months, Alpha realized that what people truly loved wasn’t just its ability to organize, but its personality. Now, if a user needed a reminder to call their dad, Alpha would chime in with, <strong>“Remember, he just wants to know<em> “You’re Okay”</em> and maybe an update on your life decisions.”</strong></p><p>It brought a little more fun into the day. And though it didn’t always get things right, it was always there with a quirky suggestion or an oddly comforting reminder. <strong>“Alpha’s not perfect,” </strong>people started saying,<strong> “but neither am I, and somehow… it gets me.”</strong></p><h3>The Final Chime</h3><p>It was late (<em>as always</em>) at their favorite tea shop, “Tea — Until Morning.” <br>Kott, Swift, and Pie were sifting through Alpha’s latest user feedback, chuckling at some of its more absurd suggestions.</p><p>Just then, Kott’s phone buzzed twice. The first buzz was a message from his mom: <em>“Try to get some sleep, beta.”</em> He smiled, feeling the warmth of genuine care. The second buzz was from Alpha: <strong><em>“Midnight snack? How about warm cup of golden milk and some rest?”</em></strong></p><p>A thought struck him. “Guys,” he said, “maybe we’ve been looking at this wrong. Alpha’s purpose isn’t just to organize; it’s about human connection.”</p><p>Swift nodded, “It’s true. Alpha’s real impact is reminding us of the connections we already have.”</p><p>In a moment of clarity, they decided to <strong>shut it down</strong>, letting it craft a final message for users. A message generated by Alpha itself, something the “<strong><em>creation</em></strong>” had came to understand from “<strong><em>creator</em></strong>” (<em>Rare Thing</em>). The next morning, a notification popped up on devices worldwide:</p><blockquote>“Hey there, it’s Alpha! Just a reminder: The real Alpha is all around you — friends to call, family to laugh with, and numerous to inspire. I’m signing off, but life’s happening beyond the screen. Go make some memories and embrace every moment! Thanks for the ride! #JustRealAlphaThings”</blockquote><p>And with that, Alpha quietly disappeared. But the message left an impact, sparking something unexpected. Inspired by Alpha’s words, people began sharing stories under the hashtag, not to mourn Alpha’s end, but to celebrate real connections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KybSftoet2qKwVJXECAzSA.png" /></figure><ul><li>One tweet read,<em> “Today, my friend Rekha made me play pickleball, focusing on health, laughs, and a few terrible serves. #JustRealAlphaThings. — T5143”</em></li><li>Another shared “<em>Bumped into an old friend on a morning run — ended up walking double the route just to chat. #JustRealAlphaThings</em>”</li></ul><p>A social revolution ignited. People started spending less time scrolling and more time meeting.</p><p>In the end, Project Alpha’s greatest accomplishment wasn’t in organizing schedules or sending reminders; it was in helping people rediscover each other. And with that one final nudge, a world reawakened to the value of living, connecting, and enjoying life together.</p><h3>Endnote</h3><p><em>Well, there you have it! As I wrapped up this tale (Actually, I was running out of notification ideas), i think it is a pretty positive story. At the end of the day: Solving each others questionable drama’s is at-least better then spending your meaningful time on ‘mind-numbing’ 📱 screens (i literally thought i invented this adjective, googled it and felt: disappointed).</em></p><p><em>Thanks for reading — may your screens be bright and your “friendships &amp; future” even brighter! 💡</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcad1e712b89" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Unlikely Tale of How I Became the Hero (of My Own Story)]]></title>
            <link>https://medium.com/@stavanbhatt/the-unlikely-tale-of-how-i-became-the-hero-of-my-own-story-ce1821136acd?source=rss-9cedb2de9c2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce1821136acd</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[struggle]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[humor]]></category>
            <dc:creator><![CDATA[Stavan Bhatt]]></dc:creator>
            <pubDate>Mon, 14 Oct 2024 21:06:58 GMT</pubDate>
            <atom:updated>2026-03-09T10:44:18.826Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IR1k40vd4Uljdv8VcU79nA.png" /></figure><p>Ah, the beginning.</p><p>Every great story starts with a grand moment: a hero emerging from the shadows or an underdog standing up against all odds, or, in my case, a <strong><em>clueless</em></strong> <strong><em>individual</em></strong> watching <em>youtube videos</em> of “developers”, helping college students to build their final semester projects for “Free” (or maybe their end goal is to earn fame)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*B196JX2DHjbEafLUGJzO0A.gif" /></figure><p>So once upon a time, there was I (I still am, it’s just, “was” sounds more familiar to the sentence), minding my own business, like any other tech enthusiast — binging Netflix, scrolling through memes, and convincing myself that my procrastination is “just a phase.”</p><p>So to get out of it, a friend suggested, “Bro, you should start interviewing. You’ve got skills! Its amazing how you were able to sit through a 4 hours long youtube video and built a whatsapp web app clone”. So, i’m no better than you, Interviewed at a several enterprises for a website developer profile and guess what, I cleared.</p><p>I didn’t knew that i would get a chocolate brownie when i ordered a vanilla ice-cream 🍦 [subjective]: <em>“Congratulations! You’re hired for React Native.”</em></p><h3>Act 1: The Beginning: Hello, World? More Like Goodbye, Mental Stability.</h3><p>It all started with Hello World— the most unassuming line of code that has ruined more lives than Tiktok Challenges. My first introduction to React Native was similar to my first introduction to taxes — confusing, overwhelming, and full of people nodding along like it all made sense. I initially thought JSX was the villain in a Marvel movie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*CSpVX3HACC00JEkM.gif" /></figure><p>Luckily for me, I wasn’t alone in this alien technology. My saviours were my mentors &amp; friends: a group of highly skilled &amp; experienced folks who seem to speak in an alien dialect (JavaScript) that you can barely understand. But you smile and nod anyway because you don’t want them to realize you’re actually an imposter in this realm.</p><p>These mentors, let’s call them “The Elders” (just for the drama), were there to guide me, patiently answering questions like:</p><ul><li>“Where was the naming guy when they decided to call it ‘state’?”</li><li>“Is React Native like React? Or is that just something tech people say to sound cool?”</li><li>“Wait, if it’s broken on Android and works on iOS, can we just… not support Android?”</li></ul><p>In the early days, my code was kind of like an 🖼️ abstract painting — no one really understood it, but people were too polite to say anything. So instead of admitting my code was a mess, I choose to become an <em>artist of debugging.</em></p><h3>Act 2: Solving Real-World Problems — Or At Least Trying to</h3><p>Fast forward a few months (or was it years? ⏳ Time flies when you’re too busy debugging to notice the seasons changing), I found myself solving real-world problems. You know, like developing a revolutionary app that analyzes your sleep patterns and reminds you that 🕒 3 a.m. is not the ideal time for a deep dive into conspiracy theories.</p><p>At this point, I realized: “Oh wait, I think I’m good at this.” It took me three years of debugging, code refactoring, adding border-radius to buttons and praying to the React Native gods, but here I was — delivering robust applications, conducting training sessions, contributing to open-source projects, and tackling challenges that actually mattered (at least, they mattered to someone). You see, when you become <em>reasonably good</em> at something in tech, you start feeling like you’ve <em>figured things out</em>. Now, the next logical step is to write about it. Generally, individuals 👨🏻‍💻 prefer to write about</p><p>&quot;10 Things Nobody Tells You About Coding, But I Will&quot;<br> &quot;How I Solved This Completely Made-Up Problem Using React Native&quot;</p><p>Well, obviously, I’m here. Writing a Medium blog about my experience. Because that’s what all developers do after they’ve spent more time debugging than sleeping, right? Plus, I figured if I’m going to survive the wild world of tech, I might as well write about it and make people believe it to be insightful.</p><p>So, what’s next on my journey? Obviously, solving <em>even bigger</em> real-world problems.</p><h3><strong>Act 3: The Future: More Code, More Coffee &amp; More Blog Posts</strong></h3><p>As a developer, am I making lives easier for the masses? Sure! Can people now complete tasks on their fingertips? Yes (with a few taps here and there, but yes)! And am I learning new things every day? Definitely</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/0*AVQ2hJbCk_RkyNmY.gif" /></figure><p>And along the way, you’ll find me here, pretending to be wise, as if I’m not just one Google search away from a breakdown.</p><p>Here , you’ll not only discover my tech skills, but also find a perfect spot to chill 🍿. Picture this: you click on an article, and suddenly you’re swept away into the chaotic yet delightful world of a developer who’s a wannabe “storyteller.”</p><p>Think of it as a tech-themed cozy café — where the ☕️ coffee is code, and the pastries are bad puns! Here, I’ll treat you with tales of debugging miseries and triumphs, sprinkle in a few absurd app ideas (Like developing an app to swap moods with someone else for a day), and maybe even share some lessons I definitely didn’t learn from a YouTube tutorial.</p><p>So grab your seat, and prepare for some reading 📖 that’s packed with apt tech insights and the absurdities of life as a coder. Who knows? You might just leave with a smile to tackle your own coding challenges and embrace the beautifully messy journey of innovation!</p><h4>Endnote</h4><p>I discovered something pretty cool. Between the endless lines of code, late-night debugging, and countless documentation visits, I realized that I didn’t need saving after all. Turns out, being a hero doesn’t always involve capes — sometimes, it just means showing up, solving the problem, and maybe scrolling articles sipping a cup of coffee.</p><p><em>Disclaimer: The events in this story may be dramatized for effect. Any resemblance to actual developers, living or dead, is purely coincidental. Unless you’re also Googling “error: </em><strong><em>undefined</em></strong><em> is not an object” for the fifth time today. In that case, welcome to the club 🎉</em></p><h4>Post Credit Sequence</h4><p>If you’ve made it this far, congratulations! You’re either a developer yourself, in which case I salute you, or you’re wondering if developers are okay. (We’re not)</p><p>Since you’re here, why not give that clap button a workout (Currently, it can only handle 50 reps 👏🏻 then it dies ☠️), We’ve worked hard to make sure it works smoothly. Share this with a fellow coder (or someone who needs to understand our struggles), and if you’re feeling extra generous, leave a review — because let’s be honest, validation is the true currency of the internet!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce1821136acd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Different ways to debug React native application]]></title>
            <link>https://medium.com/simform-engineering/different-ways-to-debug-react-native-application-a636ebb4be78?source=rss-9cedb2de9c2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a636ebb4be78</guid>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[debug]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Stavan Bhatt]]></dc:creator>
            <pubDate>Thu, 29 Dec 2022 07:18:32 GMT</pubDate>
            <atom:updated>2022-12-29T09:17:33.769Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>Debug React Native applications with ease</em></strong></h3><h4>A quick drive to know debugging techniques precisely</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pex0keXOiTcM6b86OCBVfg.gif" /></figure><p>Let’s say your team has developed an amazing application and is ready to release it. You are celebrating with your colleagues with a cup of coffee when the QA warns you of a critical glitch/bug in your application. I can feel your comfort leaving you and your Code Editor fading back into focus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*P4Y6eXo9Rw9jvtyF3kEiYg.gif" /><figcaption>Credit: <a href="https://www.wattpad.com/739252506-friends-gifs-joey">Wattpad</a></figcaption></figure><p>It is an unarticulated fact that developers love to create new functionality more than debugging. It has always been one of the most crucial events for software development. Here, we will discuss the ways to debug a React Native application.</p><blockquote>“Debugging is like being the detective 🕵🏻‍ in a crime movie where you are also the murderer.” — <strong>Filipe Fortes</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*vDNz9kkT-dzHmlqKKjQ6yA.gif" /><figcaption>Credit: <a href="http://tumblr.com/">tumblr</a></figcaption></figure><p>The different ways covered in this article are:</p><ol><li><strong>Consoles</strong></li><li><strong>Inspect Elements</strong></li><li><strong>Debugging using VS Code</strong></li><li><strong>Reactotron</strong></li><li><strong>React Native Debugger</strong></li><li><strong>Flipper</strong></li></ol><blockquote><strong><em>1. Consoles</em></strong></blockquote><p>So far, the most convenient way to troubleshoot an issue is to backtrace data utilizing consoles throughout the execution cycle. This is one of the most effective options if your problem involves some modest data manipulation and you are unsure of how a certain operation will turn out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*3rkrX7E0cOqlEKKoguwQkQ.gif" /><figcaption>Credit: <a href="https://elisweb.co.uk/blog/style-your-js-console-logs/">Eli Nathan</a></figcaption></figure><p>Consoles are mainly used to print values in the console tab of the Terminal/Debugger. It returns a direct output of the element written in the console. Let’s have a look at the list of options that the console offers you.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f35f560a6675cbee434261fcd4549dc/href">https://medium.com/media/0f35f560a6675cbee434261fcd4549dc/href</a></iframe><p>You can also look at all the operations available for the console by executing <strong>console.log(console)</strong>.</p><blockquote><strong><em>2. Inspect Elements</em></strong></blockquote><p>This option makes debugging interactive.</p><p>Inspect Elements can be triggered using the developer menu on Android and iOS, and it can be considered a go-to option to debug UI elements.</p><p><strong>Inspect:</strong> It provides a selection-based tool that displays the props and style objects applied to the selected element. You can look at the dimensions, CSS, margin, padding, font size, font family, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*WrVJKrk2x0njkCja3pkq3A.gif" /><figcaption>Inspect Elements overlay in Action</figcaption></figure><p><strong>Network: </strong>It provides you with the network call details like type, method, URL, requestHeaders, responseContentType, responseSize, responseHeaders, status, timeout, response, responseURL, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*-8yn3YwfCwTgXY-Ka6sBKg.gif" /><figcaption>Request/Response in the Network Tab</figcaption></figure><p><strong>Touchables:</strong> It highlights all the touchable elements on the screen.</p><blockquote><strong><em>3. Debugging using VS Code</em></strong></blockquote><p>React Native Developers spend most of their time in VS Code, and switching between debugger and code is burdensome. Let me make this easier for you by introducing you to a more convenient way.</p><p>VS Code inherently doesn’t support debugging in React Native. Just go to the Extensions tab and install “<strong><em>React Native Tools”</em></strong>. In the <em>Run &amp; Debug Tab</em>, select <strong><em>“Create a launch.json file”.</em></strong> Then, add configuration for your Android and iOS apps, and you’re good to go.</p><p>Here, you can debug line-by-line code using breakpoints similar to the Chrome debugger or Android Studio/Xcode native debugging.</p><p>You can find the detailed article at: <a href="https://blog.logrocket.com/debugging-react-native-vs-code/"><em>https://blog.logrocket.com/debugging-react-native-vs-code/</em></a></p><blockquote><strong><em>4. Reactotron</em></strong></blockquote><p>Reactotron: The name may sound like Optimus Prime’s teammate in the film Transformers, but it is a React Native debugging tool. It is neither a Chrome debugger replacement nor a debugging tool, but it does provide you with information about what is going on in your application. It can detect the error and show you the visual steps that led to it.</p><p>It is one of the most effective tools for tracking API calls and responses. When your app interacts with an API, you can get a complete visual representation of the Response, Response Headers, Request Params, and Requested Headers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ooYTFJon5B9yYC9tuUg3lQ.gif" /><figcaption>Reactotron Timesheet and detailed API response</figcaption></figure><p>Reactotron supports plugins; hence, by defining the plugins of State Management and Redux, you can get updates regarding value updates in the store, actions performed, etc.</p><blockquote><strong><em>5. React Native Debugger</em></strong></blockquote><p>The React Native Debugger is arguably the best debugger to use if your React Native project uses Redux. It combines Redux’s DevTools and React’s Developer Tools into a single app, eliminating the need to work with two distinct apps for debugging.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*r7M5wqqZMy4qcbKD3fhpfg.gif" /><figcaption>The React Native Debugger</figcaption></figure><p><strong>The Action Panel:</strong> The Action Window is on the left side of the screen. It shows all the Redux Action operations in your application and the time stamp registered when the action was finished.</p><p><strong>The Store Panel:</strong> The values stored in the Redux Store are preserved in this panel. It provides a visual representation of the store’s data along with real-time updates when the actions are being carried out. Additionally, you may look at the variation between the prior and present values.</p><p>The React Native Debugger features a built-in Chrome Debugger and React DevTools Support.</p><p>The React Native debugger is possibly the greatest alternative for users who prefer Debug mode and have Redux in their applications.</p><blockquote><strong><em>6. Flipper</em></strong></blockquote><p>It is an open-source debugging tool developed by Facebook to debug iOS and Android React Native apps. It was introduced with default integration with the launch of React Native 0.62 and has evolved over time and is now a trusted, stable React Native Debugging Tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*PKRCON3_ajwU9f9fJnZxSg.gif" /><figcaption>Flipper in Action</figcaption></figure><p>Flipper uses <strong>remote debugging,</strong> which lets the app run in an environment as close to production as possible. It gives confidence when debugging apps in comparison to <strong>direct debugging</strong>. Additionally, since Flipper connects directly to your React Native application, you do not need to switch to Debug mode.</p><p>The major benefit of Flipper, which sets it apart from other debugging tools, is the plugin library that enables you to expand its functionality by installing plugins straight from the Flipper interface. You can also create and distribute your own plugins. The Plugins icon, located beneath the Device icon on the left sidebar, can be used to manage plugins.</p><p><strong><em>Pro Tip: Flipper can be considered a fusion of all the methods listed above; it performs all those operations in a more efficient and effective manner.</em></strong></p><p>Here’s all the information about Flipper and <a href="https://medium.com/simform-engineering/debugging-in-react-native-with-flipper-92364199049b">how to debug React Native with Flipper</a>.</p><blockquote><strong><em>Parting Words</em></strong></blockquote><p>There are many different approaches to debugging a React Native application. However, each approach has an edge where it excels; we simply need to understand where to apply the appropriate one to get the desired results.</p><p>Keep experimenting and sharing your experience with us! <br>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a636ebb4be78" width="1" height="1" alt=""><hr><p><a href="https://medium.com/simform-engineering/different-ways-to-debug-react-native-application-a636ebb4be78">Different ways to debug React native application</a> was originally published in <a href="https://medium.com/simform-engineering">Simform Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>