Channel
Interviewed Person
Tom Occhino
the JavaScript bundle size turned out not to be the biggest problem at Facebook because application code weighed so much more than Library code why did it take two years for react server components to be made available for use in production yep and why does it rely on xjs to take full advantage of it the reason it took so long to develop was because every test we ran with react server components it was like worse performance wise if you're a startup and you're trying to move quickly and you're trying to test whether or not your product has product Market fit and you think you need an app for that and you can't use
the web and you're not using react native I think you're just making your life much harder [Music] so Samo Pinot was here he helped to create react and react native about a decade ago yeah about a decade now and he also served as the manager of the react Group which oversaw
the massive open source project that is react.js and also an internal tool for your project infrastructure team yeah and I'm especially delighted to have him here with us today because this is Tom's first public interview since leaving Facebook in 2021. gloves are off so this is really the uh the first opportunity uh publicly anyways um for him to address the entirety of his tenure at Facebook and so I'm especially honored and absolutely delighted to welcome Utah
thanks for joining me thanks for having me yeah it's really good to be here it's good to have you here now there's a lot I want to cover in this 45 or so minutes that we have including that famous full rewrite of uh the largest application in the world to react but I first wanted to reflect on the bigger picture sure so from your perspective and with the benefit of hindsight yeah
how did react change the nature of web development it's a really good question uh full disclosure Ben did not in advance give me any of these questions so this is going to be all off the cuff and we'll have some fun feel free to Heckle if you'd like um look we saw something really interesting at Facebook around the time that we started working on react which was as our products got more and more complicated and as our teams got larger and larger it just became really
hard to add new features and fix bugs and our ability to move quickly became sort of a function of how many people that built the original thing are still available and are around and I think one of the big things that reacted at least for us internally was it decoupled initial authorship of an application from the iteration on top of that thing and I think actually that has more to do with the architecture of a react app breaking things down into small components that are you know responsible for their own thing and that can be then
you know composed together I think was just a better architecture so on the one hand I'd say like for us it changed the nature of like how we iterate on add features to fix bugs in our applications it made our apps a bit more reliable and it was a bit more fun for developers especially compared to the things that we were using beforehand there's another interesting thing I think that happened with react though especially you know post adoption so I won't say Post open source because
there's a whole story about open sourcing react but I think like as you know everything kind of started shifting towards mobile development because of you know time spent on our mobile devices just going through the roof I think like web development started to almost languish while all of the best and brightest in the industry started focusing all of their attention on idiomatic platform native development for IOS and Android and I think one of the things that I saw happen with react