chantastic.fm

115: Eli White on Principles and React Native

Episode 115 · October 22, 2020 · 01:10:19

Hosted by chantastic · With Eli White

Sponsored by AWS Amplify and Infinite Red

Download MP3 · Jump to transcript

News!

We have a YouTube channel for React Podcast 🥳
Watch the livestream of this chat with Eli and Subscribe for future chats!

Featuring

Links

Sponsors

AWS Amplify

AWS Amplify is the fastest, easiest way to build web and mobile apps that scale. aws.amazon.com/amplify

Infinite Red

In over your head with a React or React Native app? Infinite Red can help. They're React Native core contributors who've been designing, building and shipping apps for over 10 years. reactpodcast.infinite.red

Transcript

[00:00:00] Michael Chan: This is React Podcast. I'm Chantastic. In this episode of React Podcast, Eli White shares the 5 core principles guiding React Native development. Native experience at massive scale, fueling developer velocity on every platform with declarative UI. He also shares some insights about how Facebook organizes around features and products, not platforms, and shares news about exciting React Native collaborations with Microsoft. I loved hearing about the vibrant vision leading React Native development, and I'm sure you will too. This episode is sponsored by AWS Amplify and Infinite Red. AWS Amplify is the fastest way to develop web and native apps that scale. I bet that you're already using at least one AWS service to support customers today. So you're already familiar with the limitless composability of AWS services, but sometimes all that capability can be overwhelming. You just want one thing that's intentionally designed to make modern full-stack development easy. AWS Amplify is for you. AWS Amplify takes the power and scale of AWS and tailors it to your needs as a cloud-based web and mobile app developer. You can use it to spin up hosting, storage, authentication, manage GraphQL or REST APIs, serverless functions, and so much more. You can start using AWS Amplify for free with their generous free tier. It's great for tinkerers, entrepreneurs, and bootstrappers. And as you scale, you only pay for additional services you use. A match made in heaven. Visit awsamplify.info/react to find a quick tutorial for React developers like us. Woo! Infinite Red is your go-to resource as a React and React Native developer. They know these frameworks inside and out. Whether your company is Fortune 500 or fighting fortune for an open coworking desk, Infinite Red can help you design, build, and ship quality apps. They've been doing it for 10 years, and listeners of this show absolutely love having them as a friendly expert resource. Infinite Red will give you $750 to start or refer a new project. Get expert React and React react-native-help@reactpodcast.infinite.red. Eli White, welcome to React Podcast.

[00:02:38] Eli White: Awesome. Great to be here. Thanks.

[00:02:40] Michael Chan: You know, it's funny. We have gotten to see a lot of each other just kind of like talking about, you know, React and React Native and what you are doing. But we haven't actually had you on the show yet. So I'm super excited to to get you on to talk about React Native, uh the principles that you're using to kind of lead that project and develop it for the future. But for anyone who doesn't know you yet, could you tell us a little bit about who you are, what you do, how long you've been doing it, and what you love about it?

[00:03:08] Eli White: Yeah, absolutely. So I'm Eli White. I'm one of the engineering managers on React Native. I've been at Facebook and on React Native about 3.5 years. I had never used React Native before joining the React Native team. I come from a web background, so I'm uh you know very came from the React side. Uh, worked on a lot of web infrastructure kind of things. So I have a lot of that background that I kind of bring to React Native. Uh, but I wanted to kind of— uh, coming into React Native, I wanted to take the things that I knew really well and apply them to an area that I didn't really know anything about, which was mobile and uh React on Native. So that's kind of what my path to React Native uh came from, and it's been really great kind of seeing this new area and working on mobile since then.

[00:03:54] Michael Chan: Yeah. So you mentioned kind of going from React to React Native, and I'm really curious, like, what were you building with React before and how did that kind of translate to your work on React Native?

[00:04:07] Eli White: Yeah. So, um, uh, when I was working with React, I was, uh, helping a web team that built out a web property and, uh, a lot of the kind of web infrastructure side. So, you know, working with, uh, setting up linters and

[00:04:23] Michael Chan: Sure.

[00:04:24] Eli White: Webpack configs and Jenkins CI configs, all that kind of stuff as well. And then coming to React Native, there's been a lot that's kind of transferred over. React Native is very similar to React on web. You know, you write the same components, you you have pretty much the same style properties that you're used to, but the differences are that instead of rendering to DOM nodes like divs and spans, you're rendering to uh like native UI components. So- Yeah. Like the the the box components that are provided by uh iOS and Android. And so there's some things that are kind of different that are helpful to kind of understand about mobile as well. Like navigation on mobile, for example, is like wildly different than navigation is on web. And thinking of thinking in that way uh is different, but the way that you build your UI, the way that you uh think about, you know, how you nest components and build out things with uh context or Redux, like all of that is exactly the same.

[00:05:34] Michael Chan: That is interesting. Cause I think, you know, I've been a predominant- I've touched React Native a little bit, but I've been predominantly a web developer, like my, my entire career. And it's interesting, like it's an interesting challenge, like when you go from web where you're working with, you know, you're working directly with elements, right? Like whether that be like, you know, div, span, unordered list, or whatever. Um, you're working like directly with those and you kind of see those show up in the DOM as like the way that you put them in. But there's an interesting thing that happens that you alluded to in in React Native where you're using elements that sit above those native elements. So they're like native in in uh iOS native, in Android and whatnot. So there's a level of abstraction. Is that is that predominantly kind of where like React Native sits as a project? Like is it just like React and then like there's React Native is this mapping to those platforms? Or is it more complicated than that?

[00:06:34] Eli White: Yeah. So one mental model that I kind of like to think about for React Native is Uh, React Native in a lot of ways is like a browser. That the browser, like, you write your JavaScript, but it is the thing that provides access to uh your, you know, webcam or to the other kind of system devices. It provides those kind of APIs, and it also has the implementation of div and span, and all those things are like built into the browser. And so it does its layout uh processing, it does, uh, you know, how to process CSS and do all those kind of things. That's all in the browser core. So React Native is very similar. That uh React Native takes the JavaScript that you write, but it provides the APIs that let you access native. It provides— uh it does its layout calculation itself. And instead of— like a browser will just draw every pixel on the screen, but React Native, instead of drawing that itself, it- Renders to the actual native components. But React Native is kind of the heart and soul of uh specifying what you're able to use. And the thing that's nice about React Native that you don't get on the web is that on the web you can't add these features to your browser. You can't-

[00:07:50] Michael Chan: Sure.

[00:07:50] Eli White: You can't expose new system capabilities into your browser. Uh you have to wait for the browser vendors to do that. But with React Native in your app, you can add new capabilities, you can add new um like connections between Native and JavaScript and expose those so you can use those. Um one example is like a map component in in React Native. You know, you might want to render a map, and on web that's like that's really complicated. You have to like essentially you like give up and you import some like Google Map view that has done all of the logic to do everything. And on Native- Sure. You're able to kind of import the Apple-provided SDK for Maps and-

[00:08:35] Michael Chan: Sure.

[00:08:35] Eli White: —and use that in the, in the app itself, kind of as if the browser decided we're going to expose, you know, Apple Maps SDK as a component in the browser. But instead of having to wait for the browser vendor to do that, you can just do that in your individual app.

[00:08:50] Michael Chan: It's interesting because one of the big kind of, I guess, contentions or frustrations with the web is that it is a much less, um, I don't know, like high fidelity platform than native platforms. You know, so like a, you know, a native, um, like macOS or Windows or, you know, mobile, like iOS and Android, they have a huge amount of like fidelity and responsiveness and APIs that let you do tons of things. And so it sounds to me like when you're using React Native, you actually get to use these really high fidelity APIs instead of depending on um, like you said, some big cluster of like, you know, JavaScript or, you know, Canvas or like whatever that kind of gives you that, that opportunity in the web, but like isn't actually like a native experience necessarily.

[00:09:38] Eli White: Yeah, exactly. And this actually ties into our first principle, which we'll probably talk a bit more later. Um, but it's one of the things that's pretty interesting is that, uh, when you think about the different platforms between web, iOS, and Android, the the highest bar that users have for any experience on those platforms is on iOS. People have a really high bar of what they expect the experience on that platform to be. And it might be uh maybe upsetting to this audience, but I think in for a lot of ways, um web has the lowest bar of the experience people expect. Yeah. And so we get a lot get away with a lot of things on web. You know, like, we talk about trying to avoid janky animations, but like, you know, that's the- the standard is like janky animations, and we try to avoid that. But on mobile, like, a single frame drop in an animation is like not acceptable.

[00:10:33] Michael Chan: Sure.

[00:10:34] Eli White: And like, people really hold you to that bar. And so for us on mobile, you know, using a WebView doesn't cut it. You you can't get to the level of fidelity that people expect on iOS. And so it's really important for us that the experiences built on React Native really meet the bar that people have for that platform.

[00:10:54] Michael Chan: Yeah, this is a really interesting differentiator for React Native. I've always thought is that, you know, so many people want the ergonomics of, you know, JavaScript, HTML, CSS, um, and then- and have just kind of put that into a web view on an application. And like, it works, but it's Like you're getting you're getting the ergonomics but then sacrificing the the user experience. And it feels like with React Native, you've really tried to flip that. Where you still want those like ergonomics of uh of JavaScript being able to you know have bring your web developers in and have them be effective in the in the product. Um but with the value of these native components that that feel and look great and like predictable in those environments.

[00:11:42] Eli White: Yeah, absolutely. And uh kind of getting to our principles, the reason that kind of a native experience is our first principle is because we will trade off developer experience to give people a user experience that is uh what people expect for that platform.

[00:12:00] Michael Chan: So I I do want to talk about the principles, but first I want to I want to kind of like back up just a little bit, um because I think we're going down that we're we're just barreling towards those principles and I really want to get to those, but I want to ask like Setting up principles feels like a really important part of of a project. I'm kind of curious, you you wrote this article kind of detailing your 5 main principles for React Native. And I'm curious, you know, just before we go into those, what types of experience have you had leading this project that have that led you to want to redefine those principles or establish them um at at this point in, you know, 2020?

[00:12:35] Eli White: Yeah. So I think React Native has had kind of a bunch of different kind of stages of its life. And when React Native was first announced, React Native kind of came out of the gate saying like, we're a bunch of web engineers, we know how to build apps. Like, hey, mobile engineers, you've got this all wrong. Don't worry about it, we'll we'll fix this for you. Like, don't do what you do anymore, just like, you know, be web engineers now. Right. And that was a big mistake on our part because that's not how we felt. And I think it's really set the wrong tone. That I think a lot of engineers that are like really great native engineers, they see React Native in that in that mindset and they see like these web engineers who know nothing about native, they know nothing about kind of what the expectation is of the platform are are coming in and saying like, we don't need mobile developers anymore. And that's not that's not-

[00:13:35] Michael Chan: Sure.

[00:13:35] Eli White: —how we we feel. Uh and so we figured that it's really important for us to tell, you know, how we do feel and when and what our story is. Um and I think people have been able to kind of guess and talk about things, but it hasn't necessarily been aligned. And so instead of kind of responding to each individual person saying like, that's not what we believe, Uh, it's easier to get pulled into the trap of what we don't believe, and I really wanted to focus on what we do believe and the things that are important to us.

[00:14:08] Michael Chan: I'm curious about the nuance of how that actually manifests. Or like you mentioned routing a little bit earlier and how it's distinctly different, you know, on the web versus native platforms. Um, obviously that was, that was a challenge and something that you had to learn uh from native uh processes and engineering, were there other things that kind of like rose to the surface as like challenges that really needed- you needed that clear lines of communication between um kind of this React Native JavaScript type of experience, but then also, you know, back backend- not, not backend, uh native knowledge and whatnot?

[00:14:44] Eli White: Yeah, I think, um, there's a bunch of different things in this category. There's like people who have expertise on native They know how to like debug native apps and um you know improve the memory and be able to think about the lifecycle of applications uh and kind of all the gotchas around that, uh how to set up CI and like for for iOS and and Android apps, um as well as they they really help maintain the bar of what the experience is on on these native platforms. You know, like, you have a bunch of iOS engineers or Android engineers, and and they're going to not let you say- like, not let you use React Native as an excuse. Yeah, yeah,

[00:15:33] Michael Chan: yeah.

[00:15:33] Eli White: We really we really want to make sure that people working in React Native don't say like, oh, we can't do this because it's React Native. And I think people kind of can fall into that trap. And I think it's it's easier on web because, like, you don't have any other choice. Like, you can only do what you do on web. Sure. But I think one of the one of the perceptions that people have with React Native is that you can do everything in JavaScript. And you can do a lot of things in JavaScript, but React Native doesn't mean JavaScript. One of the things that's really important to us is that you use native code when you need to. That's that isn't, you know, avoiding React Native for a certain part of the application. That that is that is like a core belief of React Native that, uh, you know, if you need to bridge new components or APIs or implement something natively because it's too complicated or or too, uh, maybe confusing to have in JavaScript, or there's already existing code in native to to do that, uh, using it in native is is still React Native, and we want to encourage that.

[00:16:39] Michael Chan: That's really interesting. I imagine that there's a kind of perception to someone who's investigating these things, you know, thinking like, well, there's not like a React Native library for this thing, or it doesn't do exactly the way that I want to. Um, it seems like that experience is is improved and, um, I guess, augmented by having people who are really familiar with, uh, you know, iOS and Android and, you know, all the other platforms that you actually target. Um, that they can actually now have a better space to work together. Um than they did before, where it's just kind of like you have one team dedicated to one platform and that's basically it.

[00:17:15] Eli White: Yeah, exactly. I think, um, it obviously depends on like the scale and size of your company, but, um,

[00:17:24] Michael Chan: sure,

[00:17:24] Eli White: I think when people consider React Native, we don't want them to say like, oh, this means that we don't have to hire iOS and Android engineers, we just can hire our web engineers and we'll be totally set. I think maybe at like, you know, you're starting a startup, you have 2 people, I think maybe that's fine. But I think as you grow, uh, the way that we see it and the the teams that we've seen have the best success are teams that still have some native engineers, but the ratio of native engineers to to people who have like a JavaScript background can be very different than it would be with just native apps.

[00:17:59] Michael Chan: Interesting. I'm curious, you know, since we're on this topic, what does that look like at Facebook, you know, you have, uh, you know, you have like the top, the tippity top of, you know, scale issues, right? And so I'm kind of curious, like, what does this look like at Facebook, you know, using React Native? Uh, how is it being implemented? And I mean, as much as you can tell me, um, and kind of what do those handoffs look like between your teams?

[00:18:25] Eli White: Yeah, so on the product side, which might be most interesting to you, but uh push me in a different direction if it's not. Uh on on the product side, there people are mostly organized around features and products and not around uh platforms. And so uh you you will typically have teams that go and build the same feature for all the different platforms. And so by having being able to have like shared knowledge or or uh expertise, that helps a lot. Uh people building this for web can also kind of build this on mobile. Uh but we also have, you know, the teams that do the best with React Native have a couple of uh native engineers on both platforms that can help uh in any of the places that they need to, uh you know, bridging different APIs, thinking about different architecture for for how things might be laid out. And so that's that's really what we see. One of the things that's interesting for us at Facebook is that we have a lot of different choices for how you can build your application. There's nothing prescriptive about which framework you have to use. And our native frameworks, ComponentKit and Litho, are actually heavily inspired by React. So even if you're writing iOS native code or Android native code, you're still working with components and with props and- With a very similar uh mental model. And I think that's been really helpful as well, that uh engineers, you know, native Android engineers can still have conversations about the JavaScript React Native application that's getting built on top of it.

[00:20:07] Michael Chan: That's really interesting, uh this this notion of everyone kind of rallying around components regardless of, you know, if they have a native framework or web framework or, you know, React Native that's bridging them. Because it seems like this whole concept of components, if I remember correctly, even started back in like PHP, like before React, there was kind of like these this PHP model of a component and that kind of migrated to what we know as React today. Has that been like an unmitigated success, uh you know, for for Facebook, just the the notion of components?

[00:20:40] Eli White: Yeah.

[00:20:40] Michael Chan: Um or have there been some some drawbacks?

[00:20:43] Eli White: Um I think components are everywhere. Um I don't think we really do much anywhere that isn't with that kind of mental model. I think that components have a have a drawback that isn't Facebook-specific. It's it's shared everywhere, which is like we might have solved you know where behavior lives into these like individual components, but then finding the right components to use becomes the problem.

[00:21:13] Michael Chan: Sure.

[00:21:14] Eli White: How do you like once you have all these, how do you distribute them and uh communicate them, help be able to make them findable. And so, uh, I think this is a problem no matter what technology you're in. This is one of the shifts to components that I've kind of seen. And so there's- we have a bunch of tooling internally to help make this better, but, uh, it's not a- it's not a solved problem as I've seen it.

[00:21:35] Michael Chan: Nice. Well, I, I really love the idea that you'd mentioned, um, just a bit ago about how you have teams that that work around a feature, um or, you know, like a a product and actually try to bring that to the different platforms. I find that really interesting because it changes the— I I guess the— it flips the expectations around a little bit. You know, where you would have someone who's maybe an expert in this type of technology and whatnot, and then you bring them in to do that part of the tech the stack for that feature. I'm kind of curious, you know, does that really- does that work really well? And, um, is that something that smaller companies could model?

[00:22:16] Eli White: Yeah, so for Facebook, we have a lot of experts that are experts in individual platforms or or technologies, um, but Facebook really values generalists that can kind of jump between anywhere. And so, uh, the experts can kind of help in the areas that they know and maybe provide infrastructure or tooling to make things better and make it make things that used to require experts be accessible to generalists. And that's that's kind of the way that we think about a lot of things. And I think that's that's actually part of React Native as a whole is that mobile used to be only accessible to people with deep native expertise, but the upleveling with components and with React Native as a whole has enabled this kind of thing that's required expertise to be done, uh the balance to be shifted a lot more towards generalists supported by fewer specialists.

[00:23:07] Michael Chan: Yeah, I really like that. And I think that's something that I, I find, I think, interesting as an industry that we're moving- it feels like we're, we're moving closer and closer to product where it's like we want to be able to like service customers as quickly as possible, and we're trying to build technology that allows you know, more people, uh or like a wider spectrum of people to be able to deliver on those features, um, faster and in more places. Um, and it feels like React Native is is one of those projects that's really like at the center of this.

[00:23:41] Eli White: Yeah, I think both React and React Native, we kind of see them as like one unit, uh are very much at the center of this.

[00:23:48] Michael Chan: Yeah, absolutely. So I'm kind of curious, before we dive into principles, um, what are some of the, uh What are the major platforms that React Native is, is really targeting right now?

[00:23:59] Eli White: Yeah, so uh React Native is a framework and a technology that transcends Facebook. So it's- React Native supports uh significantly more platforms than, you know, our team at Facebook supports. So it's kind of an interesting uh conversation, I think, um, and I think both sides of this are pretty interesting. Facebook historically has only supported React Native on iOS and Android.

[00:24:25] Michael Chan: Huh.

[00:24:25] Eli White: But there's been other companies that have supported a bunch of other platforms like, you know, Apple TV, and uh you know Microsoft has been driving a lot of work around uh Mac and Windows. And uh you have companies that build React Native for a whole bunch of different TV platforms and Roku and Tizen and all sorts of things. Uh, it pretty much feels like if there's a screen, React Native runs on it.

[00:24:55] Michael Chan: Nice.

[00:24:56] Eli White: It's pretty cool.

[00:24:57] Michael Chan: Yeah. Okay. So I want to- now, now that we got kind of, you know, for anyone who's unfamiliar with the technology, we got kind of like the broad picture of the technology and how it fits in at Facebook and, you know, how your team's, you know, kind of working to support more generalists. Uh, I want to talk about these principles that you, you wrote a really great article on, um, that are driving the current and future development of React Native. And I'm gonna list them out right here so we kind of like know, you know, the pillars. Oh, do you have a question?

[00:25:26] Eli White: Sorry, I see your finger. When we're talking about platforms, I said that like React Native started with like iOS, Android at Facebook, but it supports all these other platforms. I think uh we'll talk about this more at the end of the things that I'm excited about, but uh one of the things that that we're doing now on our team at Facebook is, you know, partnering really closely with Microsoft to support Windows and Mac. And yeah, you know, we're building up a team to do that because we have products now at Facebook that are using those. And so, uh, I'll talk about that more at the end, but, uh, that's something that like our team at Facebook is, is now supporting these platforms as well.

[00:25:59] Michael Chan: That's awesome. It's been- that's one of the things that I've been most excited about, just kind of in, in hearing from you, is like all of the new places that React Native seems to be be popping up and all the new platforms that it seems to be servicing. And um that that one with Microsoft is um particularly interesting. And uh I guess, you know, gives something for our listeners to look forward to in the next uh 15 minutes or so.

[00:26:24] Eli White: Yeah.

[00:26:25] Michael Chan: Um okay. So, I'm gonna read these uh these principles off. Um they are uh from top to bottom, we have uh native experience, massive scale, developer velocity, every platform, and declarative UI. Now we've kind of touched on a couple of them, but I'd love to hear the kind of like principled version of, of these first. So let's dive into native experience. Could you talk a little bit about what native experience as a principle means?

[00:26:53] Eli White: Yeah, so in our blog post, which you'll, you'll link out in, in the show notes, uh the first paragraph for each principle is kind of the bite-sized tweetable form of each principle. In fact, each one is of the length that it could be tweeted. So I think I think that's probably a pretty good place to start our conversations about these. So for for native experience, our top priority for React Native is to really match the expectations that people have of that platform, kind of like what we talked about before. Hmm. And this is why React Native renders to these native platform primitives We value the native look and feel over cross-platform consistency. So this is kind of how we how we think about React Native. That we the goal isn't like 100% code reuse. The goal isn't that uh you write one like piece of code and that will run on every platform, look and feel exactly the same across all platforms. It should look and feel like people expect of that platform. One of the ways that we think about this is that Um, people don't have- like, when people wanna uh make a decision about an app, they don't compare that app on iOS and Android and, you know, any other platform to see like, oh, this is consistent, like, this makes me happy. Instead, they check they check whether that app looks and feels like other apps on that platform. So if your app, you know, scrolls differently or has different like bounce behavior or uh animations just feel subtly off. It doesn't matter if it's consistent with other platforms. What we believe matters is that it it matches people's expectations of the platform that they use.

[00:28:33] Michael Chan: That's a pretty big challenge, I imagine, right? Because like, you know, consistency with the platform versus consistency with, you know, your experience across platforms is maybe a level of consistency that people aren't used to thinking about consistency at, right? Like it's easier to think of it as like I- this thing looks exactly the same everywhere versus this thing looks as its environment does on all of the platforms. Is that a challenging way to think about things like or or talk about them as you introduce React Native to people?

[00:29:09] Eli White: I think it is for people coming from web and it really is not for people coming from native. Because, you know, people coming from web, you're used to like building a website on a browser, and that experience on a browser should look the same no matter what browser you use. And when it isn't, you know, you're really upset at the browser. But in this case, uh, and that's because like you don't know which browser people use, and it's really interchangeable. But when you use a plat- when you use a different native device, you're very much locked into that native device. And really know what that platform should feel like. It doesn't matter what it feels like on other browsers, other devices too.

[00:29:52] Michael Chan: It is really interesting because, you know, at least with the developers that I've talked to, they, they hold very closely to the, uh, interface guidelines for those platforms. Like, it's very important to each person that their- the experience match the surrounding apps as best as possible.

[00:30:10] Eli White: Yeah, absolutely. And I think You asked one of the reasons that we why we created these principles, and I think one of the things that's really helpful is that uh you know there's a lot of different technologies in this space now with Flutter and SwiftUI and Jetpack Compose and uh a bunch of different choices that people have, let alone web views, uh when thinking about these. And so the trade-offs that people often talk about are you know maybe like performance or uh who who created it. But I think that's not that's not really the the the things that we really want people to think about. There are different trade-offs that uh are aligned with different goals, and we want to talk about the things that are really that really matter to us to help you kind of understand, if you're deciding between these technologies, which ones you feel aligned with. For example, I think like Flutter I don't want to speak for them, and I haven't seen a post like this from them, but my understanding is that they don't have the same principle. That for them, it matters much more that the experience is the same across all platforms, not because they want the experience to be the same across all platforms, but because they want the developer experience to be so great. They want- Interesting. They want you to be able to confidently write code and have confidence that it's going to work the same way wherever you write it. And for us, we kind of make sure that we tell everybody working in React Native at Facebook that you should be testing your experience on all of your platforms because they should behave like that platform. And so that's kind of a difference between these different technologies that I would love to kind of see a document of the principles for all- for from the other frameworks.

[00:31:54] Michael Chan: Yeah, yeah. What- and I think this really showcases your, your belief that you know, if it comes between a user experience and a developer experience, you're gonna choose the user experience over the developer experience.

[00:32:08] Eli White: Absolutely.

[00:32:09] Michael Chan: Interesting. So, I want to move on to the next one, which is the um massive scale. And I guess I'll let you uh kind of like read the tweet the tweetable version of this and uh we'll go from there.

[00:32:20] Eli White: Yeah. So, the the Facebook app is used by, you know, billions of people on a huge range of devices. And there's hundreds of screens in the Facebook app that are implemented with React Native. And so for our team, it's really important that we focus on the kind of issues that we see at that scale, which is kind of also saying that there's a lot of things that we aren't able to focus on because they don't cause us the biggest problems at this scale. You know, our team is only a certain size. We can't we can't focus on everything, and so we have to kind of draw that line where we needed to. And there aren't that many companies that are really using React Native at this scale, uh if any company other than Facebook is even close. Uh and so the things where we're most uniquely situated to solve are the things that we should focus on. And uh you know, as I said before, React Native is like much larger than just Facebook. There's a big-

[00:33:17] Michael Chan: Yeah.

[00:33:17] Eli White: Community around it, a lot of other companies that operate at lots of other different scales. And so we want to enable other companies that operate at those scales to really focus on the things that impact them and provide that back to the ecosystem. And so as we think about, you know, the the APIs we provide and how we set up the community to be able to build third-party modules and uh kind of contribute, we want to help people contribute at the scale they're comfortable contributing. But for example, here, as kind of um a difference in focus. Um, you know, if there's a issue that kind of comes up that is about like a specific prop in a certain way that we don't use it, um, we are less likely to jump into that than we are to jump into, um, disk utilization on Android. Like low-end Android devices really slows down React Native and it requires like tons of changes in the core of how we architect the whole framework to be able to address uh making React Native run better on Android devices. And so we try to focus on these bigger problems that uh will have the biggest impact for uh kind of the the scale that Facebook operates at and enable the community to kind of solve some of these other problems.

[00:34:34] Michael Chan: This is really interesting to me. I think one of the things that I have really enjoyed about using React is that I know that it's being used by Facebook. And so there's really nothing that- like, for any indie product that I make, or, you know, things that I make with, you know, significantly fewer users, like, there's gonna be some consideration for the problems that I might face, you know, already baked into the framework. And I I love hearing that, you know, you're you're using it and understand and, like, build new solutions around the the problems that you have at scale. But I think there's also another benefit to this is that It sounds to me that, you know, at Facebook, because people get to, you know, choose their own tooling, um, you have to be a very adaptable framework. Like you have to be able to fit into the way a certain, you know, platform or product is making those decisions. And you can't own the whole pie and be like, well, this is a React Native app. We're building it from, you know, from first principles on React Native. Um, how has that that necessity kind of guided the way that you build out React Native?

[00:35:37] Eli White: Yeah, I think it- I think the, the biggest way to me is the way that we've kind of approached our community and our other partners. And, uh, I want to plug like Expo here a little bit. Uh, for those that don't know, Expo is, uh, a kind of managed toolkit to create React Native applications with a lot of the capabilities that you need built in and uh really focused on on new applications, uh but they've also been providing a lot of their their toolkit to existing applications as well, uh and really providing out like high-quality uh building blocks that people use.

[00:36:18] Michael Chan: Yeah.

[00:36:18] Eli White: And I think the the interesting thing for us at Facebook is that, you know, we aren't spinning up new apps all the time. We have like a couple of really massive apps that are uh that were existing native apps that we need to integrate React Native into. And so for us, we really need to be able to focus on those kind of problems. Uh we aren't in the situation that we would be investing in, uh you know, creating a way for people to spin up tons of apps and make that really streamlined, because if we did, it would be kind of out of the goodness of our heart to build up our like developer community, but we wouldn't be able to invest in it and provide as much uh as much like success to it as the community would want. And so that's kind of an area where Expo has really stepped in and- Yeah. —made that really successful by helping teams kind of create new apps and make it really easy to get started. And so I think for us it's more important to build our relationship with these companies and enable them versus trying to do it all ourselves.

[00:37:26] Michael Chan: Yeah, and I, I mean, I just have to kind of say that like the stuff that Expo is doing is really cool. It's been really fun to see like all of the kind of cross-platform libraries that they just make it really easy to, to get started and start using on, you know, even on web they have some like really great libraries that work on web.

[00:37:45] Eli White: Yeah.

[00:37:46] Michael Chan: Now, I know that this, you know, working at this level of this scale has mandated that you kind of invent new tooling. Um, and I know that some of the things from that article that have popped out of that are um Hermes, Fabric, and Turbo modules. Uh, can you talk a little bit about what those are and kind of like how they were birthed out of React Native?

[00:38:09] Eli White: Yeah. Uh, so the Uh, first one is Hermes. Um, I think-

[00:38:14] Michael Chan: Oh, is it?

[00:38:14] Eli White: Oh my god. The other name uh may have some uh trademarks around it.

[00:38:19] Michael Chan: Oh, gotcha.

[00:38:20] Eli White: But Hermes is our JavaScript uh engine built specifically for React Native. And this is, this is like a great example of uh what it means for us to focus on on scale, because as I mentioned, you know, like Android devices uh have slow disks and Our focus there is to solve like serve the billions of people using React Native on Android uh in the Facebook app. And so there's only so much that we can do loading JavaScript off disk. And uh with an existing JavaScript VM, you have to load source code, the entire JavaScript bundle, and then, you know, parse it and then compile it and then like then start executing. And that also all has to happen on the startup of your application. And on web, you know, you have browser tabs that are around forever. The startup matters, but it also matters, like, can it still be, you know, fast after being open for a week?

[00:39:20] Michael Chan: Sure.

[00:39:21] Eli White: And uh that is not common on mobile that you keep uh the same screen up for a week. What matters a lot is how fast you can start the app and switch apps come back to it and get back right where you were. Mm-hmm. And so for us, we needed to be able to make it so that all of that work that's really common to a JavaScript VM goes away. And so for Hermes, that's really the main focus, is really optimizing for startup performance on mobile. And you know, it's it's not a thing that anybody can do, creating a new JavaScript engine. This is not a fork of V8. This is not uh you know anything that exists. This was from scratch. Via uh from scratch JavaScript engine. Uh and instead of parsing JavaScript, we compile that JavaScript to uh bytecode that is then execute like directly executed uh off disk. And so there's no there's no JavaScript source, there's no parsing, there's no evaluation. Um it is it is like actual bytecode instructions.

[00:40:21] Michael Chan: Man, that's so so wild. And I think kind of ties into this whole notion of like that that's something that like not-Facebook could not have done, right? Like you kind of have to be at a certain level to take on a project like that and actually optimize around that. Because I mean, I imagine that that was a non-trivial effort by some very talented engineers for an amount of time.

[00:40:45] Eli White: Yeah. There's only so many JavaScript engine engineers in the world. Not just any any company could hire that and and uh even even like be able to invest in that, you know, like, yeah, we're able to invest in that at Facebook because it has such an impact on Android where the Facebook app is like so is is so important. Uh and I don't think any other company has the scale that would warrant that investment.

[00:41:13] Michael Chan: Yeah. Now, just out of my own curiosity, how did that how did that come about with- I know that Apple in particular is very particular about the engines that run on its platform. And so I'm curious, like, did that infringe on some of their guidelines for that, or were you able to work around them with success, or did you have to work with them to get this thing to work?

[00:41:38] Eli White: Yeah, so as I mentioned, you know, Hermes is is there to really solve our problems on Android and uh the the disk on Android. And so uh providing, uh as we built out Hermes- Hermes is the Android JavaScript engine. Gotcha. And so the, you know, disk on iOS is much faster than it is on, on Android. It's not, it's not as much of a problem there.

[00:42:02] Michael Chan: Interesting.

[00:42:03] Eli White: So the focus has really been on Android.

[00:42:05] Michael Chan: Fascinating. So I- it's interesting to me because I didn't realize that even at- that you're able to do that at even like a platform level, like create these, like, you know, so this is effectively just targeting Android and the limitations there versus iOS, which have, as you mentioned, faster disks and kind of can use the platform that's available.

[00:42:25] Eli White: Yeah, um, the, the impact on Android is much greater than the impact would be on, on iOS. Um, I think the, you know, these optimizations are still valuable, you know, like not parsing the entire JavaScript bundle is still like- it would only lead to wins. Um, and so I think it would provide, provide value and Uh, I think Callstack has actually been working on bringing Hermes to iOS and uh kind of investigating that and and what kind of wins people might see. Uh, but our focus has really been been on Android.

[00:42:58] Michael Chan: Interesting. Thanks for clarifying that for me. Um, cause I I had no idea. Um, now, Fabric, that seems awfully close to Fiber in, you know, like that we got in React a couple of years ago. Are those two related?

[00:43:13] Eli White: Yeah, so Fabric and Fiber are kind of very similar in their missions and approach. Um, I don't know that many people remember React before Fiber, but uh, you know, React got to a certain point where they couldn't bring the capabilities and the the optimizations that they wanted to bring on the architecture that existed. And so they kind of rethought the core of React without kind of changing the public API to be able to unlock these new capabilities in the future.

[00:43:44] Michael Chan: Sure.

[00:43:44] Eli White: And so we think about Fabric the same way, and we have a couple of different big architecture projects that we're working on to kind of address- similar to Hermes, you know, we we see these patterns that are kind of like uh problems throughout the stack, none of which is like something you can fix that one individual problem. We have to fix kind of the like kind of change the whole system. And so uh we've been working on this new architecture uh that will solve a lot of these kind of challenges that we've run into at our scale, uh while, you know, not not requiring much changes on the product code side. Trying to just be like an under-the-hood improvement that will unlock a lot of capabilities for us in the future.

[00:44:28] Michael Chan: Nice, nice. Now, were there any other things on the scale side of things that you wanted to cover before we move to velocity?

[00:44:35] Eli White: I think we should move on.

[00:44:36] Michael Chan: Okay, let's move on. Getting too, too much into the weeds right now.

[00:44:39] Eli White: This is great. I love these questions. I'm really happy to be talking about the principles. Um, we- I wrote this, and uh, the main goal for this whole document was uh, sharing and being able to have conversations about it. This is, this is a starting point, not a uh, end point. You know, this is what drives React Native, and we want to hear from other people how this lines up with their opinions and and other technologies. And this is really about a conversation, so I'm glad we're having this conversation.

[00:45:07] Michael Chan: Yeah, yeah, me too. And I think that brings up a really valuable point, is is that I think sometimes people see, you know, principles like this as, as, I don't know, maybe being like restrictive or or whatnot. And I am so glad that you mentioned that because I think that being able to, to say what your values are open up discussions, right? And you can kind of talk about like how something that you want is aligned with this principle or like unaligned with this principle, but that doesn't mean that you can't do it. It just means that like we gotta kind of like rework it to like fit into these principles and these guidelines. Because a project like, you know, React Native would just fall apart if you didn't have any guiding principles. I mean, there's just too many people who are interested in having it be tailored to a certain way. To just say yes to everybody.

[00:45:54] Eli White: Exactly. I think one of the other things that's interesting here is that these aren't the React Native principles. These are these are our team at Facebook's principles, uh the React Native team at Facebook's principles, because, you know, React Native is much bigger than us. Um, you know, Expo has probably different principles as they work on React Native than than we do. And

[00:46:14] Michael Chan: sure,

[00:46:14] Eli White: uh I think that's one of the things that's really valuable for our ecosystem is that you know, we're able to kind of support these other partners to have different principles. But we figured it's really important to share ours because we've been the one driving this project from the, from the front lines for a while.

[00:46:30] Michael Chan: Yeah, yeah, yeah. And I mean, Expo is a really great example of, you know, something that can be aligned but have different principles and try to to solve a different part of the problem that you're not allowed to. I love that. So developer velocity, that's the, that's the third of the, you know, React Native team principles. Um, and uh I'll read this one. This one says, um, it should only take a few seconds um to see the result of a code change or see the result of code changes. Uh talk to me about that one, uh because that one seems really big and hugely important for a company as big as Facebook, where 1 second for every developer that works on something is, you know, hours a day.

[00:47:13] Eli White: Yeah, it's I mean when you're running at our scale with the number of engineers that we have, um we have dashboards that measure how many years per day are spent running yarn. You know, like when you when you can save a little bit of time from something, that really that really impacts a lot of people. Uh and it's not just, you know, we we are driven by a lot of these things at Facebook, but by providing them open source, we know that we're really changing the game for, you know, companies all around the world. Yeah. If you're if you're creating a startup, um being able to move fast and try a bunch of different ideas and iterate and find product market fit, that is incredibly important to you. Um and for us at Facebook, you know, we have so much that we want to build on on the product side and uh so much to to do that if you can let a team do, uh, you know, everything they're doing with half the number of people, that other half can, you know, take on bigger challenges and, uh, you know, have a lot more impact. And so we really, we really value developer velocity and making this easy.

[00:48:23] Michael Chan: Yeah, yeah. So what are some of the things that, uh, that have been introduced to React Native to make, um, make changes in development super snappy?

[00:48:32] Eli White: Yeah, um, so I mean, a lot of what we're comparing against is mobile, which is, you know, minutes build process after every change before you can see anything. And that's not what people expect from web. So, uh, maybe the the listeners here are kind of a little bit skewed in that direction.

[00:48:49] Michael Chan: Sure, sure.

[00:48:50] Eli White: But, you know, we think about things like uh fast refresh, which came to React Native first, and uh really makes that that you know save and reload experience really seamless. And it's not just about you know how long it takes to see a code change. It's not just about that that refresh cycle. It's also about uh how fast you can debug problems and the tools that you have available.

[00:49:16] Michael Chan: Mm.

[00:49:17] Eli White: And uh for a lot of companies, it's about OTA and being able to ship kind of updates to your app uh on on your own cadence instead of um maybe on like a weekly cycle, uh you can just kind of ship and it's live. And so that, that kind of is all like our thinking that empowering those kind of changes is a really important part of React Native.

[00:49:38] Michael Chan: Yeah, and this is something that I think, you know, web developers like myself just have zero context for, you know, when, you know, refreshes are, you know, pretty fast even on a slow, um, you know, slow web app. But the deployment, like having- taking control of your deployment, it's like for me I just think like, oh, okay, like, you know, I'll you know, push this in and, you know, in a couple minutes it'll be live on the web. Um, for Native, you actually have to get approval from like a different company.

[00:50:05] Eli White: Yeah.

[00:50:06] Michael Chan: So how does- so tell me a little bit, for those who aren't familiar, like what this product- what this lifecycle usually looks like and how React Native allows you to kind of bypass that whole thing.

[00:50:18] Eli White: Yeah, so for, for a lot of companies, um, they might have like weekly or biweekly release cycles for their native apps because going through the process with iOS and with uh with Apple and uh Google Play might be might be pretty complicated. And so- Mm-hmm. One of the things that was really cool is that Microsoft built this uh system called CodePush, which essentially lets you ship like you're used to on web. You can just kind of publish a new version of JavaScript and then the app will start up and download that new bundle and execute that instead. And uh I think a lot of companies are are using this, uh having a kind of great experience with OTA. And uh you know it's it's I think for the the companies that use it, like it's not about shipping new features, but it's about being able to quickly fix bugs and uh notice you have a crash and be able to like resolve that crash. Right away instead of having to wait a couple weeks for that to go through. And so it's been really cool to see like Microsoft having that stack, and Expo has theirs with the update system. And I know like Shopify has been sharing some of the other things they've been doing, like on PRs you can scan a QR code and it will download the bundle from that pull request and run that on the actual native application. And so those kind of things are you know, not possible with a native application and part of the release that is possible with React Native that companies are doing.

[00:51:48] Michael Chan: Yeah, I love that. And I love that that is something that the kind of website is able to bring to, uh, to native platforms that, you know, you can bring that particular experience of being able to just like push updates, you know, into your product without having this big, like, you know, maybe weeks-long kind of song and dance with, uh, with third parties.

[00:52:09] Eli White: Yeah.

[00:52:09] Michael Chan: So let's move into the every platform, because I think this is something that you're super excited about. And, you know, seeing the places that React Native has gone this last year, tell me about this uh every platform as a principle.

[00:52:22] Eli White: Yeah, so uh reading the the first paragraph here, when we introduced React Native in 2014, we presented it with the motto, learn once, write anywhere. And we meant anywhere. Uh, you know, developers should be able to reach as many people as possible without being limited to the, you know, device model or operating system that people are running on. Uh, React Native isn't just- we talked about this already- isn't just about iOS or Android, but it's also about, uh, you know, Windows and Mac and VR and, uh, game consoles and web. And it's, it's about really it's about the the way that people write UI and not about the platform. And I think that's something that we we really believe in is that you know React and React Native aren't like separate projects. A lot of it is is-

[00:53:17] Michael Chan: Sure.

[00:53:17] Eli White: Really meant to be kind of very much the same. That the way that people write UI and the the things that they learn uh should translate anywhere. And kind of React Native pushed a lot of this with with what you're able to write, but we also now see this with, uh you know, uh influencing the way that people write even native products uh in terms of like the mental model being the same with SwiftUI and Jetpack Compose and Flutter.

[00:53:44] Michael Chan: Yeah.

[00:53:44] Eli White: So for us on React Native, uh our goal isn't necessarily to have write once and run anywhere, but to have the authoring experience enable you to build really great experiences on on individual platforms. So we've been doing that now with uh Windows and Mac at Facebook, as well as iOS and Android.

[00:54:03] Michael Chan: That's awesome because I I I naturally think of, you know, because you know when I was introduced to React Native, you know, it was it was specifically targeting iOS and Android. Um but now you mentioned like this is going to to to desktop, to like different types of devices, to TVs and whatnot. Uh tell me a little bit about the partnership that you have um with Microsoft right now. Building desktop experiences with React Native?

[00:54:28] Eli White: Yeah, so, um, when we open-sourced React Native a couple years ago, uh, we never really thought about other platforms, uh, being a thing that we would need to focus on because Facebook's so focused on, you know, our mobile apps on, on iOS and Android. And then, uh, Microsoft started using React Native. They realized that, you know, their developers want to write in JavaScript and um that that model worked really well for them. And so Microsoft has been doing really amazing, um, building out React Native for Windows and Mac. Um, some of the built-in applications that ship with every version of of Windows now are written in React Native. So every copy of Windows includes React Native in it, which is just mind-blowing. Uh, you know, some of the some of the applications on Xbox itself are written with React Native.

[00:55:17] Michael Chan: Unreal.

[00:55:18] Eli White: Office, like the whole Office suite, has certain parts of the apps across all of the platforms that are written in React Native. It's become really it's become a really big thing for Microsoft, and they were kind of doing that on the side with like consultation and partnership with us. But now for us at Facebook, we actually have a use case for React Native on desktop. One of the things that's really important to us right now is helping people kind of connect even when they're remote from each other. I think that's really that's really important and part of the mission here. And so, um, one of the things that that we've been building out is Messenger Desktop. And Messenger Desktop uh has uh been an Electron app, but there are some things that that we want to do that aren't possible in an Electron app. Uh there's a lot of limitations that it has. And so, you know, we were investigating like, do we build Messenger Desktop with like a native iOS and Android app? And the answer was like, this React Native for Windows and Mac thing works really well, like this this works out. And so uh we've been building up a team here at Facebook uh that I that I support that uh is building out React Native for Windows and Mac in partnership with Microsoft. And so we kind of operate like we are one team across both of these companies.

[00:56:34] Michael Chan: Wow, that's awesome.

[00:56:36] Eli White: We chat at least once a week. Uh engineers on our team should feel just as comfortable with engineers on their team as they do with other engineers. At Facebook. So this has kind of been our our relationship. Uh we want to make React Native uh on desktop, you know, a really great experience. Um we're having great success with it so far versus Electron, where Messenger Desktop was. So we're gonna keep pushing that forward, and we're just the very beginning of that. Uh but I'm excited for kind of that future.

[00:57:04] Michael Chan: Yeah, and that really speaks to, you know, earlier points of the the extensibility of React Native, you know, to be able to go to platforms, to be introduced to platforms that it wasn't previously on. But then also, it's like flexibility, right? That it can go and like support a portion of Microsoft Office. It doesn't have to own the whole thing. And that that is just really fascinating to me that this project can kind of like go anywhere that it needs to go to to help people be more productive in a wide variety of environments.

[00:57:39] Eli White: Yeah, and that's part of our our uh focusing on massive scale principle as well. And you know, there's thousands of different screens in the React Native app- sorry, in the Facebook app. And some last time I checked a couple months ago, there was like 850-ish uh screens in the app written in React Native. And so being able to enable existing apps have, you know, parts of it written in React Native versus the entire app having to be React Native is is really critical to us.

[00:58:06] Michael Chan: Yeah. Yeah. Well, um, I want to get into this last one. Was there anything else that you wanted to say on the uh the every platform before we move on?

[00:58:15] Eli White: No, that's great.

[00:58:16] Michael Chan: Cool. I realize I've just been enjoying talking to you so much and I realize like we've already been on for like an hour or so.

[00:58:23] Eli White: I'm happy to keep talking uh for a little bit longer.

[00:58:26] Michael Chan: Okay, cool. Cool. So the last of these principles is declarative UI. Uh, tell me how that fits into the uh React Native mission.

[00:58:35] Eli White: Yeah, so I think one of the things that's- well, I'll I'll read this first. Um, we don't believe that deploying the same exact interface on every platform- we believe that it's important to expose each platform's unique capabilities with the same kind of mental model, the same declarative programming model. And for us, our declarative programming model is React. React is like a uh the heart and soul of of what we use. It's what we use on the web. It's the mental model. It's the capabilities. It's uh you know hooks. And it's it's the way that you write applications. Uh that shouldn't be tied to any specific platform. That should be the way that you write UI for any platform. And so, uh I think it's important to to specify here that you know React is one of React Native's like principles. You know, we're not going to diverge from React uh to to do something different. We we really want to stay aligned with React because, as I said before, we kind of see it as as one and the same.

[00:59:36] Michael Chan: Yeah, I love that. And I think that, you know, that really ties back to the original, um, original vision, I think, of like, was it learn once, write anywhere? That you could like take React and actually apply it to all of these different platforms, uh which we've which you've seen tremendous success in over the last handful of years.

[00:59:55] Eli White: So this kind of ties into the the stuff I'm excited about, which I think was part of your agenda for one of our last topics. Yes, yes. Are you ready for this?

[01:00:02] Michael Chan: Yeah, I'm totally ready. Um tell us what you're tell us what you're excited about. I mean, what's just getting you excited now that kind of this this technology seems a little bit more, you know, fleshed out? What are the things that are on the horizon?

[01:00:14] Eli White: Yeah, so uh one of the things, when we talked about desktop, that's a really new thing for us. I'm I'm really excited about that. I think there are a couple things that are people might not be thinking about with desktop uh that are kind of interesting. For us at at Facebook, you know, iPad and Android tablets are are kind of a big deal in terms of like absolute number of users, but we we don't we can't we don't have the bandwidth to really invest in that as we would, uh as we do for for iOS and Android. But there's a lot of things that you need on desktop that are very similar. For example, on on you know on on a desktop application, you might hit Tab to kind of navigate through the key through the interface with your keyboard. And that's just like what you expect from a desktop application.

[01:00:57] Michael Chan: Sure.

[01:00:58] Eli White: But it's not something you do on a mobile app. You don't do that really, having a touchscreen. And so as we we have to kind of figure out what that means on Mac and Windows. How do you build a native application on Mac and Windows really look and feel like that platform and expose these capabilities and APIs in React Native. And as we figure these problems out, we get to bring these solutions into React Native itself, which provides value to iOS and Android because you can plug a, you know, touchpad and keyboard into an iPad. You can plug a mouse and keyboard into an Android device.

[01:01:33] Michael Chan: Yeah.

[01:01:33] Eli White: And you have the same kind of controls but most things don't think about that. But because we have to build it out as a first-class citizen for desktop, we can bring it as a first-class citizen to iPod, iPad, and Android. And it's not just about desktop either. Web has the same needs, right? Web needs to figure these things out. Yes. And so as we think about these APIs, what are the things that we need to do that are are cross-platform? And as we talked about before, you know, like it's not just about iOS and Android, it's not just about desktop, it's about VR and TV and you have controllers and it's also about web. You know, we we want to make it easy so that you can build uh applications across all technologies using kind of 95% of the same codebase and using the platform where it really matters. And so for us on on web, I think there's a lot of opportunity there and I think that's kind of the dream that everyone's had for a long time is that, you know, an engineer who knows React in one codebase, 95% of it could be the same between web and mobile.

[01:02:37] Michael Chan: Sure.

[01:02:38] Eli White: And I think a lot of teams externally from Facebook have have really investigated this. I think Expo is doing a great job of driving this forward and uh bringing a lot of these capabilities to web from React Native. The thing that I think about is that in a lot of ways React Native is a toolkit on top of React for building high-quality experiences. React is kind of like the core of the, like, the, you know, mental model of the APIs provided. Um, React DOM kind of exposes the low-level APIs to divs and spans and uh events and that kind of thing. And React Native kind of builds builds on top of that with the patterns and, uh, you know, components and hooks and things that people need to build an application that's really high quality across any platform. And so I'm excited that as we build this out, we can start thinking more about web and uh really make this really make this a really cool thing.

[01:03:35] Michael Chan: Yeah. You know, it's it's funny, like as you're talking about that, I'm just thinking about how hard it is at the moment to support devices that— um on the web, sorry, on the web, how how difficult it is to support devices that have a keyboard, which we expect. But then also are capable of touch technologies. You know, because more and more devices are giving you both experiences. And we're just- it's something that we're just bad at right now.

[01:04:01] Eli White: Yeah.

[01:04:02] Michael Chan: And I love this kind of virtuous cycle that React Native is is already trying to figure that out and can, you know, through figuring that out, actually provide, you know, libraries and concepts and ideas to help out all of the platforms, including the web.

[01:04:18] Eli White: Yeah, something we mentioned earlier is is being able to make it so that product development is more accessible to generalists and regardless of the platform. And I think that's a big piece here as well. You know, you talk about uh keyboard navigation on web and then adding touch is really hard and you like you have to be an expert at these systems to be able to do that. And so for React Native, one of the things that's really important to us is trying to figure out what these patterns look like that can be more accessible to a broader swath of the the developer ecosystem. You know, there's millions of developers that know React. Um, making that making them more effective in the ways that they want to work and and the areas where they can they can have an impact and be useful is really important. And as you know, we think about this a lot as we think about like lowering the barrier to development. There's a lot of like coding boot camps where people come out learning React. Uh, that's amazing, you know, a couple of weeks of learning and and like people are are quite productive. Are there things that we can do in React and React Native that require less expertise in the common case and make it more effective? I think we still need the experts to kind of drive the expectations and really drive these things forward. Sure. We can kind of shift that balance and make it more accessible to more people.

[01:05:42] Michael Chan: I love that. I love that vision because I think that, you know, over the next handful of years, that is where things are gonna happen, right? Like being able to give people with an idea, like every opportunity to very quickly spin up that idea and prove it and actually make a product out of it is gonna be more accessible to non-programmers. And I love that you're really driving this forward and with it you know, a I think a unique focus on product. Um, as opposed to just kind of, you know, more cool developer tooling that like makes us feel like hipper or happier. Um, but really focusing very narrowly on like how do we get from product to customer really quickly and narrow that gap. I just really love that. And I'm really excited to see that that is something that is picking up steam on more and more platforms.

[01:06:31] Eli White: Us too.

[01:06:33] Michael Chan: Awesome. Well, before we wrap this up, is there anything else that you uh that you had wanted to say that I didn't ask you about yet?

[01:06:38] Eli White: This has been great. Thank you so much for talking about these principles and kind of having this conversation about it. This is what I wanted.

[01:06:45] Michael Chan: Awesome. Well, it's what I wanted too. And I'm really grateful that you made the made the time to do it. I love seeing stuff like this uh kind of like pop up on the web because as you you'd said, um it really does open up an opportunity for conversation and to kind of investigate a little bit further into, you know, what— like, why is this the most important thing? And why are we kind of veering away from other things that maybe seem like just as important? So thank you for writing it and uh coming on the show.

[01:07:12] Eli White: Yeah, absolutely. And if other people want to have conversations about this, uh please tweet at me, uh @Eli_White. And I'm sure that'll be in the show notes as well. Yeah, I really want to have conversations about this.

[01:07:24] Michael Chan: Yeah, yeah. So that brings up a good uh close for us is how is the best way for people to contact you, get involved in React Native development and future discussions?

[01:07:34] Eli White: Twitter is the is the right way to contact me. I think for following along with kind of the the big changes in React Native, we have a repo called discussions and proposals, and that's kind of a a good way to follow along. And if you mark that repo as watched, uh get notifications there without the the the volume of notifications in the main React Native repo. And a lot of the kind of big changes that are happening we discuss there.

[01:08:01] Michael Chan: Awesome. Well, we'll definitely link all of those things. Uh Eli, thanks again for your time today. Um this has been illuminating and uh super fun for me.

[01:08:09] Eli White: Awesome. Thank you very much.

[01:08:11] Michael Chan: This has been episode 115 of React Podcast. With Chantastic and guest Eli White. A transcript for this episode was sponsored by Kent C. Dodds, none other. Thanks, Kent! At the moment, these transcripts trail episodes by about 5 to 7 days. Uh, we're working to close the gap to zero. You can find that transcript, links, and show notes at reactpodcast.com/115. Thanks to our sponsors AWS Amplify and Infinite Red. AWS Amplify is the fastest, easiest way to develop web and mobile apps that scale. Learn how to get your React app into the AWS cloud with hosting, authentication, storage, managed GraphQL or REST API, serverless functions, and more at awsamplify.info/react. Infinite Red is your friendly expert resource for React and React Native. They've worked with developers and entrepreneurs like you to design, build, and ship quality apps, and they've been doing so for over 10 years. Infinite Red will give you $750 when you start or refer a new project. Get expert React and React Native help at reactpodcast.infinite.red. If you like this show, there's a fast, free way to demonstrate your support. Leave us a review on iTunes. It's the best way for you to let me know what you think we're doing right and what we can improve. 2 to 3 minutes of your time helps us make the best show we possibly can. As always, links and show notes for all episodes are available at reactpodcast.com. This episode was edited by Mikael Delport. It was produced by Mikael Delport and Sarah Jackson at Spek, a network to help you level up in design and development. Check out spec.fm for other shows that are sure to fast-track your career. I'm your friend, Chantastic. Thanks for listening. We'll be in your ears again next week.