React Native is an open source framework developed by Meta that allows engineers to build mobile applications for both iOS and Android using a single JavaScript codebase. The framework bridges the gap between web development and native mobile, which lets teams ship to both platforms simultaneously without sacrificing the look and feel of a truly native app. Mungery Mogae is a staff software engineer at Coinbase, where she has spent five years building and scaling one of the world's most demanding React Native applications. Her work spans performance optimization, reliability engineering, and the developer tooling that keeps large engineering teams moving quickly without sacrificing quality. In this episode, Mungery joins Josh Goldberg to discuss why React Native has become the framework of choice for high-velocity mobile teams. How
Coinbase measures Apphelp, how to handle data fetching and loading in production, how AI coding agents are changing the day-to-day workflow for mobile engineers, and more. This episode is hosted by Josh Goldberg, an independent full-time open-source developer. Josh works on projects in the TypeScript ecosystem, most notably TypeScript E-S-Lint, a powerful static analysis toolset for JavaScript and TypeScript. He is also the author of the O'Reilly Learning TypeScript book, a Microsoft MVP for developer technologies, and a co-founder of SquiggleConf, a conference for excellent web developer tooling. Find Josh on BlueSky, Fostodon, and .com as Joshua K Goldberg.
In engineering, CEC plus JAVA, but I never really like them. It's probably because my mom was actually into software. She started coding in 1983 in koball, and I grew up around programming books like ERP, SAP, Java, and I made up my mind. This is not something I want to do. So I definitely registered it. But it wasn't until my final year hardware project where we designed the PCB,
wrote hardware code in, it was called VHDL, hardware descriptive language, and I started working on the circuit. That's when I was like, okay, I built this, I can do this, and I realized the power of coding and software engineering in general. So, night out of college, I got my first job at a consulting company. I learned I was an android. It was the AI back then, you know, 2011, 2012, everyone wanted to learn mobile development, and I was very happy I was working on cutting edge technology, love native development back then. And then moved towards hybrid mobile development,
which was this phase when everyone wanted the apps on iOS and android to be built at the same time, but we didn't have React Native, and we used to have this wrappers using like phone it was just wrapped around a web view, did not feel native at all. But you built only once, actually web mobile built together and then deployed on iOS and android. And then React Native came out in 2015 and everyone was so excited. We didn't have to wrap up views around anymore. We could write code that felt like native, write it only once and deploy it on iOS and android.
And yeah, I've never looked back since 2016, did multiple rewrites from hybrid or native mobile to React Native. And at my previous company came time where I worked, we did the rewrites, and I joined Coinbase because Coinbase was a big proponent of React Native. We had just done the native to React Native rewrite when I joined Coinbase in 2021, and it's been five years and I haven't looked back. It sounds like a wonderful journey. Let's dive into some of the high level attributes of React Native you mentioned. So a lot of developers may have heard of React as this sort of
front-end web space thing. Why and how is React suddenly on mobile? What does that mean for a developer? I think the biggest thing here is React Native gives you the native feel, but the underlying technology of writing like JavaScript and CSS, which is the same as web remains the same. So many web engineers were able to adapt to React Native fairly quickly. I want to say, React Native does in need
native understanding and some native skills, but not too much. That is why I think it was a brilliant home run from meta to build React Native because it attracted web engineers, it attracted native engineers and it created this community that now builds mobile apps. And that's what I even love about React Native. It's been around for 10 years and only getting stronger because of the community and the contribution it gets from all these amazing native engineers and web engineers together. It's kind of a best of both worlds situation. So when you say that they're built at the same
time, what was the difference between writing native apps versus a React Native app? Yeah, I think the biggest difference from a company perspective is obviously the speed, right? The velocity that you build products with iOS and Android, you have to build code on them separately, unfortunately. And in my experience in the past, I have realized that you're always playing catch up. You always have that business priority of a product, what that needs to be launched on X-Date, and then it comes down to, okay, 80% of my users are on iOS. I'm going to first
build it on iOS and then Android follows. So you're never able to maintain that feature parity between iOS and Android. Whereas on React Native, you write that code once and then it goes out on both. Yes, there are differences because iOS and Android are just different architectures. But rarely, if you are writing pure JavaScript code, you have to make distinctions for iOS and Android.
So it depends on the space you are in. If you are working on animation, so if you're building a game, I would not recommend React Native because it's not there when it comes to, you know, animations and the performance that's needed. But if you are building a financial app like we do, like Coinbase, and where velocity matters because the world is changing so much, the crypto industry is evolving so much. We are launching products such a scale that if we were building two apps, iOS and Android, we would just not be able to keep the feature parity. That's a very appealing value proposition of reducing velocity. Let's say that a company is just now getting started switching to React Native
and or making a new app in our end. What advice would you give them? Yeah, I think I have three pieces of advice. First is observability. Many teams or many companies building mobile apps consider observability as their P1 or a non-functional requirement. But I feel like observability is so
important. Like if you don't measure it, you don't know how to improve it. So I think observability needs to be the first thing because people go to React Native and then say it's slow. But what is slow? If you don't measure it, you will never be able to improve it. So you need to have observability
in place. Second is gut rails. There are so many good patterns, bad patterns that are already defined in React Native that if you're using TypeScript and you have ESLint rules, you know about ESLint, Josh, I love ESLint. And I feel like it's the unspoken forced rule that you can, you know, have developers follow. You can write multiple documents. You can have so many like presentations
or learning sessions and whatnot. Nothing is more impactful than something that blocks the developer while writing code and gives them information as to why this is a bad pattern. So I think that's very, very important when you are building in React Native, especially it may apply to other technologies too. But especially in React Native, we have been like exhaustive dependencies. It's such a simple ESLint rule goes such a long way and can catch so many performance regulations. So yeah, that's the second thing. And third thing is I think just discipline
built into platform, you know, defining performance budgets is how long should this screen not take? Should it be under two seconds? Should it be under three seconds? How do we want the navigation to work? You know, because React navigation is such a critical part of React and also sometimes the biggest food call lists again in React Native because we have the virtualized DOM. I think defining what you want to do in that area, creating shared components for it
in the beginning, not after a fact, playing offense for building that shared repository is the third thing I would advise teams or companies that want to move to React Native. It's a lot of great info. The last tip there, you ended with what almost sounds like a design system and no front and folks and websites are very often these things building design systems. Is that also true for React Native apps? Yeah, I think so. Shared design system, especially for a React app or a React Native
app, is very critical. So we do have a quite a ways design system, which is actually now open source. So if you're writing a web code or React Native code, sometimes you won't even realize that you are in a different repo because it's the same design system. You are using the same elements that you would use on a web app or on a mobile app. So that's great, actually. If your code looks like my code,
it's a win. If two developers are the same company are writing the same pattern, of course, that's actually a great thing. So definitely, I think design systems are a way to go. We have so many abstracted components in design system, like lists, modals, trays. So you don't have to do the same performance optimizations again and again when you are building your features. They are just given
to you out of the box. That sounds like another example of improved developer velocity. Yeah, exactly. And it's also easy to onboard to a design system because there's just not examples, so much documentation. You don't need to reinvent the wheel. So if new engineers are
joining your team, they are ready to go super quickly. So let's dive into some of the more deep and rich and user facing metrics you mentioned performance. How do you optimize performance or design architecture performance in a reactant world? Yeah, so I think there are many ways to look at performance. My simple definition of performance is how does the app feel when you open the app and try to do something that you intended to do. For example, we all open
our apps, especially our stocks and crypto apps to check the balance. How is my portfolio doing today? So I consider that as a critical operation that needs to happen under certain seconds. Also, am I being shown many suspense or loading states? That's a victim of. So I
try to divide performance into four buckets. One is the cold start metrics. Cold start is when your app is totally killed, you open the app. How long does it take for you to land on the main screen of the app? Second is how does the app feel when I navigate between like screens? Are there too many
loading indicators? Is it slow? Is it getting stuck? Third thing is how many errors am I experiencing? Or is the app user friendly? Am I getting full screen errors and something that's putting me off or not
letting me do the job that I came to do, which is check my balance. And the fourth metric that I want to talk about is the end-to-end journey. By that, I mean is I open my app, I see the landing screen, I check my balance, now I want to buy crypto. How long does it take me to get to buying crypto and finishing my trade? That's the other metric that we look at. Before I get into too much
detail, I want to pause and say that metrics are great, but having too many metrics adds confusion. So there needs to be a limit to what you measure and what you improve. If you try to improve every single metric, it's like boiling the ocean. You cannot achieve what you want to. So then focus needs to be extremely narrow when you're trying to improve performance. How do you choose which metrics to
focus on that? If you've got a big app with a lot of them. Yeah, great question. It depends on what's the need of the hour. What should we focus on today? You improve a certain metric,
and then I think it takes two years in my experience for that metric to regress. And then two years later, again, talking about it. It's also because the trends change over two years. You just have shipped so much code. New team members have joined, so they don't know the metrics that you talked about.
That is why I think automation and guardrails is just so important. So you fix one problem and it never happens again. But unfortunately, in performance world, it does not happen. I feel performance is recognizing certain bad patterns and then optimizing it is just it does. It's not something heroic because you keep running into the same problems again and again.
Performance is a flat circle. Yes. Let's say that you haven't noticed that cold start used to be wonderful. Now it's terrible. Let's dive into the tech details a bit. What would you do to debug
this performance issue? Yeah. So we do something called as a react profiling. We profile the app. We use react F tools to profile the app. See exactly what is happening, which API calls are taking
too much time is any JS thread operation that is long running on a JS thread that we can move or defer to a later time. Do we have bad rendering patterns? Are we re-rendering our code too many times? That's something that we look at. So I think the approach is multi-fold bad fetching patterns.
We audit the data that we are requesting for cold start. We look at any JS long running tasks that we can defer or move away from the main thread. And yeah, profiling gives us all of the data, if not most. That's something that we look at. And also sometimes updating react native versions or moving to the new architecture that is out, helps with cold start metrics. It's not always your code. It's also sometimes
your dependencies and your infrastructure. Interesting that you mentioned threads in one land. It's all just one thread and then maybe you use a service worker. But here it sounds like we've got a lot more intricate stuff to work on. How does that work in React Native? Yeah. So for React Native,
you can fall back to the native thread. I call it the native escape or an hatch. You can defer some heavy programming or heavy computation or long running tasks to the native thread. You can also do something like run after interactions that used to be a hook. It's actually being deprecated, but there are some similar things that React Native has been launching. But run after
interactions are completed, which means once your screen is loaded, you can run those computations. For example, if you have any analytic events that you are sending back to your service, now those can run after all the interactions on the Selena complete. So yeah, I think that's the best part of React Native, where it lets you hand off certain operations to the native thread and not take away from the JavaScript thread. That's a powerful feature. I want to switch gears a little bit and talk about reliability. You mentioned analytics.
Let's say I have an app that's in production. What should I do to figure out even whether it's reliable at all? Yeah. So reliability, I want to say is there is a single user using your app and the app works great. Right? Now there are 100 users and they are using your app. Does your app scale?
Do your APIs respond in a way that they should be? So does it handle traffic? And there are many ways to look at reliability. One is obviously, am I able to get the data from back in or do I just see a bunch of errors? So the way we do it is we have certain reliability metrics. The biggest one being error rate.
Error rate is we categorize them into a few buckets, error that blocks the user error that does not block the user. And a blocking error is not just a full screen error or something. But if a user is not able to perform a journey that they intended to do, that's considered as something that's blocking the user. We monitor them literally every minute of the day. Our eyes are glued. Like if you are on call,
that's your biggest responsibility because we have high traffic and also being in an industry which is influenced by even tiny price movements in major crypto assets, we have to be on top of it. So if we start seeing these errors spike up or it will immediately start investigating, is there a price movement? Is our traffic spiking? What's going wrong? What do we need to do to figure out? We start that with cause analysis. And this is very established framework at one base on how to
figure out if something's happening. So error rates are biggest metric. Also like traffic usage. If we see some of our critical services seeing very high requests per minute, that is also another indication that something's happening or why is this happening to be investigated further. So yeah, that's some of the metrics that we look at. It's interesting that you talk so much about end user
behaviors like price surges. Do those in experience have a significant impact on stability of the app or areas that you have to focus on? Yes, they do. And that's something that also drives most of our optimizations, honestly, because we experience like new scale. Like so four years ago, Coinbase had X million of users and now we have even more. So once the users scale, we have to scale for it.
And the user behavior is definitely drive what we do because that opens like a new can of worms or like presents new challenges to us because I think user behavior is driven by the UI that we ship. And if we change certain aspects of the UI, we need to measure or we need to see if that's actually scaling well. So that is done by experimentation. We do a lot of experiments. If we are shipping like an ambitious change, be it infrastructure or be a beta product change, we do it behind experiments.
So we analyze the behavior in control and treatment and see if the treatment is actually one that is going to be permanently shipped. And if we are ready from the infrastructure side to scale that behavior. Must be devastating as a developer to work on a feature to launch an experiment and then decide not to ship it. Is there anything you can do to make that feel less stingy? No, honestly, it is I've been there. I've had not too many. I want to say just maybe one that was
resolved to control because it just didn't move the user engagement metrics. It's very disheartening. To delete that code that you have written, it's very disheartening. But it is what it is. And better than shipping something worse for users.
Exactly. Exactly. Yeah. Customer is the ultimate, you know, power. Speaking of customers, as you grow as a company, the way for example Coinbase has, you pick on different kinds of customers. A lot of companies start, you know, North America or
United States, perhaps even California focused and next thing they know, they're shipping to Europe and Africa and Asia. Has that changed significantly the areas of the app you look at or the way that you deal with users or outages? Yeah. So Coinbase is obviously global as you know. And from my view, when it comes to just performance and reliability, we do not have the same devices across the world.
Right? So when I look at performance and reliability metrics, I see so many devices. And if you look at like P75 metrics and P95 metrics for these devices outside of United States, they look terrible. And you have to improve and you know, improve those metrics because those users are also key users of the app. And even though our like user base is very like North America focus, we want to grow in those areas and make coin base the crypto app that everyone uses globally. So it's critical that you
optimize those user experiences. I think time is money. And if it's taking me six, seven seconds to do something extremely simple in an app, I'm going to just move to another app because there is no shortage of apps today that let you do the same thing. But if you want to build user trust, you need to make efforts to build that trust by making sure your app is actually letting the users do what they want to do and quickly. Let's say that you receive a bug that a user on a particular device, very common input, say, India is experiencing slowness. And you don't reproduce on your device,
but you see the recording under an device that is very slow. What do you do to investigate or do you buy this? Yeah. So at least on iOS, thanks to like network link conditioner, you can simulate the network that the user is on and try to decoduce that bug. We also have various like devices. We use
a third party tool that lets you run your end to end tests on certain devices that you can choose. We also have an external QA team that has a device farm. So yeah, you know, those are the things that I would typically do to investigate a certain bug. Yeah. Let's move on a little bit from performance to reliability. You mentioned user trust, having things break or be very slow or broke that trust.
How do you make sure that your app stays reliable, especially as you say? Yeah. There are a few things to look at. One is the load that you are putting on your infrastructure is the number one thing. There are just so many obvious problems that you can find if you start digging deep. One is just
overfetching data. The patterns that I have realized don't work well with React Native, especially are overfetching data because React has this readenders and you fetch data that's not necessary. Your app keeps readundering that causes slowness. So when you are designing your API layer or data it's important to fetch just the necessary data. For example, if you are in the US and there are some UK or Europe specific compliance things that need to be fetched or shown to the user, I don't need to fetch those for a US user. If you're running experiments, and I am not part of the experiment group,
but the data is still being fetched for me. That's putting load on my backend services and that's totally unnecessary. And it's not always just one request. We are in this microservices architecture where one service calls another service, that calls another services. So it becomes like a giant fan out. And one request from client leads into 100 downstream requests to your APIs. So overfetching data
is one of the biggest things. The second thing is polling. I think polling is one of my biggest pet peeps in software engineering. I think it's when used incorrectly, it can cause so many issues, honestly, especially in React Native stacks. So say you have polling on screen one, now you go to screen two, the polling is still active unless it's handled properly. That's how the navigation
state works in React Native. So until you go back completely on the navigation stack and you don't discontinue polling, it's going to continue hitting your services all the time, which is again, added API load. And the third thing is, I think having good gut drills, like keeping a tab on, we spoke about cold start in the beginning, we have a very close tab on how many requests we make on cold start. If they regress, we make sure, okay, what is the need to fetch this data? Can this be deferred to a later time? You know, there is always this battle between showing experiences quickly
and then regressing another metric because you want to show certain experiences quickly. So I'm specifically talking about preloading. A lot of people like to payload data, but they don't understand that there is a cost to it. You preload the data, but what if the user never goes to that screen? Now you have wasted the preloaded data, right? You need to have like strong metrics to
support that. Okay, preloading is really necessary because 99% of the users are going to go to that screen, only load data when you are sure about it. Otherwise, you know, you should just stick to fetching data when the user goes to that screen. We've now stumbled onto the blog post section of the Q&A. How do you make sure that you design for the correct amount of fetching that you don't over-fetch data as you said or even under-fetch it not how data available that you need?
I have tried to automate it a lot because I was working on this topic in 2024 and I wasn't really successful in finding a way to give that feedback to the developer when they are actually writing code. Like when they are trying to fetch certain data, can I give the feedback that he adding this field right now or fetching this data is going to add 10 requests to your API calls and the 10 requests are going to add say 40 millisecond latency to your screen. Is that acceptable? I'm really trying to find a solution for it and how we can do that. But if the feedback is not even at like development time, I think the best part is once the feature is live, that's where you know experiments come in. You start with a slow rollout, or you know 1% of the time, observe how it's
performing, how it's impacting your infrastructure, what are the number of requests, how can we optimize it and then continue the rollout of that feature. I think that's what I have been doing. The one other thing is now with AI, we actually have some AI conventions when a dev opens up with requests. We find these patterns that are foot guns. For example, I mentioned pooling is a foot gun network cache. You know, if I see a query asking for data with every time and not using
the cache, we ask the developer, the author of the PR that, hey, why are you fetching this data every time? Can this be cached? So that's also like a way to educate the dev that, oh, this is not something that I intended to do. Maybe let me change it back to the cache policy, which is use cache data if available, if not, go and fetch the data. So these are some of the things that we could do to avoid making sure the app is reliable. Do you recommend using something like, say,
relaying GraphQL to make some of that? Yeah, I think it definitely depends on what sort of app you are building. We use GraphQL as you know, heavily as R data layer, and it definitely has pros and cons like every data layer. Yeah, so it actually just depends on the use case of the app. So what does GraphQL actually do for our give to your app? So as you know, like GraphQL lets you
request only the necessary data that you need. And over the years, GraphQL has evolved so much, for example, it now lets you defer certain fields that you don't need right away to render your critical UI. So the way GraphQL, good graph, you have one query on a screen which fetches all the data, and then you have fragments on that query, which are then passed down to your child components. And in an app like Coinbase, where we have so many screens, you can end up having a lot of child components. So all that data is fetched on the main screen. But having something like Defer lets you
defer the load of the data that's needed for your child components, and focus on the critical data that you need to render the screen that you are on right now. So the user sees the data that they should and then all the rest of the data is kind of loading behind the scenes and is being suspended. This brings up a lot of the recent developments in React, suspense and being able to tie data loading to as things come in. That seems like a very kind of streamlined, easier to use system than manually setting this all up yourself. Yes, exactly. And in addition to
having that being set up seamlessly, I think it's one of my favorite loading states honestly, it just looks good on the app. There are no giant spinners anymore. The suspense is so contextual, it looks great. It keeps the user engaged that, yes, this is where the data is going to load. This is what's going to happen. And it also gives you so much out of the box for measuring metrics
for how long did this component take? How long did this suspend for? And yeah, suspense instrumentation is something that we use at Coinbase to calculate how much time it took for a certain component to render, or even a certain screen to render. We do calculate the total rendering time of screen using suspense instrumentation. So that's been a huge win. Let's segue a little bit into more of the architectural
features, since we're already talking about them. What are some of the other cool things that you're recently excited about with React Native? Yeah, so we just enabled new architecture. And I am very excited. I think there are so many cool things happening in the new architecture. One is definitely
the JSI. If you have been doing React Native for a long time, you remember how painful it was to bridge data between native and React Native. When we first started building React Native, many of the payment modules are integration with banks. They were just not available on React Native. So you had to bridge data to native, connect from the native side, get the response and bridge it back to React Native.
And this communication took such a long time. And I'm so excited that JSI, JSI interface is finally getting rid of that bridge, already got rid of that bridge, actually new architecture. It's going to make things so fast. And yeah, the next thing is turbo modules. Very excited because we don't use too many native features, but we do cameras, then secrets and then storage on the native side.
That's going to be speeding up very quickly on the new architecture. So it sounds like React Native's new architecture is rolling out a whole bunch of new features and ways to integrate with native. What are turbo modules within that? Yeah, so turbo modules are say you're interacting with the camera or you are interacting with the kitchen, which is very native specific. It's time consuming and it adds a lot of load on the whole infrastructure. So turbo modules is just something it's a way of making these native interactions faster
for React Native. And how does it come into play with apps? Is it not kind of straightforward to just open up the camera? You know, via native app? It is, but it does go through native layers. That's not
something that React Native does out of the box. So we would use some dependencies like React Native camera or, you know, having turbo modules on React Native just makes it so good fast. Let's talk about AI. AI is everywhere. What have you been up to with AI and the context of React Native?
Yeah, and Coinbase is RCO brand. Just two days ago is we are writing more than 50% of code is, you know, AI generated. And I like it. Like it's been honestly, it's been hard to keep up with everything that's been happening with AI outside. But Coinbase is building tools that we can use, internal tools that we can use like we have, we are heavily using cloud at Coinbase. We have so many like internal commands that
have been built. We have agents, internal agents that have so much context of Coinbase that our day to tasks are becoming easier and easier and we are able to ship so much code. For example, in the past, I would probably be able to open one PR a day. But now I have all these agents, you know, I just give them a prompt and make a nice plan, tell them exactly what needs to be done. And then I have five years open and it's just massive velocity. But I do think that it's important for you to give the right
context to be successful with getting the output from AI. I think that's very important. Talking about React Native, how do you set that up? So that the AI is no how to deal with your same scale of React Native application. Yeah, so we have a lot of agents, like conventions, agents.md files in contextual agents.md files that if say I'm working on a UI component, there are some things that we want the UI component to do out of the box. We want say
a screen name so that we can measure some rendering metrics. We want something called as page information, which tells me, okay, this is the page that the user added on. I think that's some of the context that we provide out of the box. So when I tell AI that, hey, build this component for me, it knows exactly what it needs to add in my UI component that is contextual to the code base and, you know, we'll reduce the back and forth between a human and an agent. Have you found that agents tend to write idiomatic React Native code rather than idiomatic or idiomatic or something else like React Web?
Not really, especially because we have so many abstractions. We spoke about design system before, and the code may look similar on mobile and web. I have not experienced it writing a React Web code because honestly, it may not look that different because we are using design system, because we are using React, obviously, in both places similar to so yeah. Have you found that the link rules are particularly helpful with AI agents? I ask because a lot of developers have reported that AI agents write code with a million squiggles and then with the link rules, they can sometimes clean it up for them.
Yeah, I think so. I have been using them a lot. Like, I use AI to just say, okay, give me violations for this thing, because people like to disable intros and then I say, okay, go fix these link rules. You do have to check the work. I still still see that, especially when it comes to fixing link rule violations, but some of them are super obvious. But for some, you need to check.
Before we start to wrap up, I want to circle back on something we were talking about earlier. You mentioned that oftentimes metrics fall over, let's say, the course of two years. How do you set teams up for success to not create, succeed, and then gradually fail other metrics? Yeah, so operational excellence is something that we take very seriously at Coinbase. And yeah, there is definitely that two-year cycle. So we try our best to put these
guttles in place that will not regress. I don't want to say regress, but that will not be forgotten two years later. They will regress for sure. That's how the nature of these metrics are, but at least someone's looking at them. So we have so much automation for operational excellence. Almost
every single team at Coinbase runs their own operational excellence where they review these metrics. They review error rates. They look at performance budgets. They look at the number of incidents that happened in the past week and try to summarize what happened and how we can prevent it. I think these learnings are so important. We also have these operational metrics bubble up to
the leadership. So at all level, we look at them and everyone takes it very seriously. It's not something that you just bucket for like 20% of your time and 80% goes to feature development. This is very top of mind for every engineer at Coinbase. And even in operational excellence, we are trying to use AI as much as possible to do the heavy lifting where do all these queries get me on the data, find the common themes. And we find avenues to share these lessons amongst each
other because more often than not, there are incidents that happen because of the same root course. And that is something that we want to avoid from happening. We don't want repetitive mistakes. I think new issues is something that is unavoidable. But I think we categorize wins when the same incidents don't happen two weeks later because of the same root course. So yeah,
operational excellence is something that is very, very critical and again, a very important aspect of reliability at Coinbase and how we have been able to stay reliable in the industry. Let's cover a horrifying hypothetical. Let's say that you're in a team that traditionally has been very stable, not that many users have used that area of the product and all of a sudden a whole bunch of users are using it. So you're getting these new bugs, you're getting slow loading times, your servers are overloaded and leadership needs a whole bunch of new features from you. What are you doing in that situation? Yeah, this is the plastic panic moment, right? Like as an
engineer, do you focus on the new things or do you focus on something that's broken? I think my thought process is priority, you know, like how bad is something? I'm getting all these bugs, I'm getting all these alerts, but what's the scale of it? Is it impacting one user? Is it impacting 10 users? If it's impacting a lot of users, we have something called as severity metrics that
coin this where we use that versus how severe it is. So I think I would just add priorities to all of this and attack it from that angle. It's very important that if one user is facing this problem, yes, it is important also depends on who the user is. That's also something, you know, if that user is some high-level individual, yeah, it needs to be addressed like today. So I think it comes down to prioritization in the end. That makes sense. Nigeria, I've got one last set of questions for you. I'd
like to end every interview with something not technical, just to cleanse the palette. What is it like or what is the best part of having a photographic memory for you? I think the best part of having photographic memory is if you are somewhere where you shouldn't be and I spot your car. I know that's you. I remember number plates of all my friends, well, not all but like close friends, also neighbors. And yeah, it's also a fun thing like, you know, if I spot you there and I'm like,
okay, this person's here, but you told me you are not here. Now I don't care as much, but back in the day it used to be fun. Do you find that having this incredible memory gift is useful at all, programming or a daily job? It used to be. Now with AI, you don't need it as much, but sometimes yes. Like I tell my team, wait, I've seen this somewhere on SLAC and I try to quickly go find
that because I just know where it was with channel who said it and it helps in remembering names of people to go back to because I just remember that picture, I remember the name and it's like a photo in my mind. So yeah, it helps to find people back in the day. It used to help me because I should remember all like the database connections and port numbers and whatnot. But now we don't do that kind of thing. Maybe I'm too old now, but yeah, that's just what it does help in many ways. Yeah.
That's so cool. Well, great. Thank you so much, Major, for coming out. We talked about React Native, the trade-outs when to use the performance reliability, scaling architecture solutions, kind of team practices around it. Last few questions on that. If you wanted to get started
anew as a React Native developer, where would you go? Honestly, now that we have so much AI stuff, other than React Native websites, yeah, just take help from AI, have them build that green field app for you and ask the questions right in your prompts. And I think it's the best way I think if you're starting as a new React Native engineer, I think AI is a great friend to have. I wish I had it back then because I could ask the item questions and not get judged, but unfortunately I didn't have the idea back then. It is nice to be able to ask dumb questions and not get judged. Not everyone
can support that on either side. Exactly. Yeah. Well, great. There's AI. There's React Native about
dev, a lot of great resources out there for the technology. And about you, let's say someone wanted to find out more about you with a working done on Coinbase. What heard you direct them on the internet? Yeah, LinkedIn is the best way to get hold of me. This has all been a lot of fantastic info.
Major, thank you so much for talking us through. We actually did this. It's been really wonderful. For Software Engineering Daily, this has been Josh and Marjorie. Thanks for listening, everyone. Cheers.
Thank you for having me.