chantastic.fm

27: React Today and Tomorrow with the React Core Team

Episode 27 · October 31, 2018 · 00:59:20

Hosted by Michael Jackson · With Sebastian Markbåge, Sophie Alpert, Dan Abramov, Andrew Clark and Brian Vaughn

Download MP3 · Jump to transcript

The React core team sits down with Michael Jackson to discuss React today and tomorrow. They talk Concurrent Mode, Suspense, Hooks, the new profiler tab, scheduling in the browser, React Fire, React Fusion, becoming more framework-y, appearing less JavaScript-y, and why you shouldn’t worry about the second argument of useEffect.

Featuring

Links

Transcript

[00:00:07] Dan Abramov: The sounds of React.

[00:00:09] Michael Chan: This is React Podcast. I'm Chantastic. This year at React Conf 2018, we saw some amazing things. We saw Suspense, we got a fresh look at Hooks, and now we're gonna sit down with React's core team. Michael Jackson's leading this one and he has some amazing questions from your suggestions. We'll be talking suspense, hooks, the new profiler, what React Fire and React Fusion mean, and what React has in store for us now and tomorrow. Now I know you didn't come here to listen to me, so I'm gonna get out of your way right after this sponsor. This episode of React Podcast is brought to you by React Training. They provide in-person, hands-on training for development teams from community leaders and experts. For more information, visit reacttraining.com.

[00:01:33] Michael Jackson: Hello everybody, and welcome to another exciting episode of the React Podcast. We have quite a full house today. We are actually here with the entire uh React core team. Uh we are at React Conf 2018. We're up at the uh Westin uh somewhere in Henderson, Nevada. And so, we're hanging out here with the React core team. I just want to go around the table and introduce everybody in case uh in case you don't know. So, on my left here is Mr. Brian Vaughn. Brian has been on the podcast before. So, uh you know him as the creator of React Window and React Virtualized. Also has been doing a lot of work on the uh recent uh DevTools profiler. Uh next, sitting next to him is Mr. Andrew Clark. Say hi, Andrew. What's up?

[00:02:26] Andrew Clark: I love you, Michael.

[00:02:27] Michael Jackson: Thank you. I appreciate that. Andrew has also been on the podcast. We were talking a lot about Suspense a couple of months ago, which finally shipped at this- at this- well, not this conference. It was, I guess, the day before we all got here, right? Wednesday, shipped in 16.6.

[00:02:44] Andrew Clark: One of the recent days.

[00:02:46] Michael Jackson: Yeah. Everything's kind of blurring together at this point. I think there have been a lot of releases, a lot of new features. We'll get to all of them. Um, so Andrew's been doing a ton of work on the uh concurrent mode in React. To sitting next to him is Sebastian Markboga. Did I pronounce that right, Sebastian?

[00:03:03] Sebastian Markbåge: That was pretty close. Yeah.

[00:03:05] Michael Jackson: Nice. Welcome to the podcast. Now, Sebastian, if you're a frequent listener of this podcast, will be no stranger to you. We have brought up his name, I'd say at least 2 or 3 times every single episode. This is, by the way, Sebastian's first time on the podcast.

[00:03:20] Sebastian Markbåge: It is. Happy to be here.

[00:03:22] Michael Jackson: Welcome. Across the table from him is Mr. Dan Abramov. How was that? How was that? Was that close?

[00:03:30] Dan Abramov: Yeah, that was fine.

[00:03:32] Michael Jackson: Dan has also been on the podcast. Golly, Dan, it seems like you kind of work on everything. He's been working on hooks.

[00:03:38] Dan Abramov: Maybe not on anything at all.

[00:03:41] Michael Jackson: Not on anything?

[00:03:42] Dan Abramov: Yeah, I I I was actually just struggling. I was like, Okay, when you get to me, what do you say? Because like, I'm not sure what I've been working on. I guess I've been writing docs. Well, there's like-

[00:03:52] Michael Jackson: There's like-

[00:03:53] Andrew Clark: That's part of it though.

[00:03:54] Michael Jackson: Docs are huge, man. Docs are huge.

[00:03:58] Dan Abramov: Uh, I wanted to correct you though, because it's not the entire React team here. So Dominic is in London.

[00:04:04] Michael Jackson: Thank you for the correction. I wasn't 100% sure if he was still uh on the core team. Yeah. Okay, cool, cool, cool. Okay, yeah, so thank you for that uh for that correction. Um and then sitting next to Dan, we have Sophie Alpert. Welcome to the podcast, Sophie.

[00:04:20] Sophie Alpert: Hello, thanks for having us.

[00:04:22] Michael Jackson: Yeah, thank you for coming on. So, Sophie also was on uh previous episode this this season, so uh happy to have her back. And uh Sophie has been working on a lot of different things React. Any any particular area of focus?

[00:04:37] Sophie Alpert: No, I mean, I just sort of try to help out with whatever the team's doing. And so lately that's been a lot of focus on hooks and Suspense since we were uh planning our announcements for the conference. But it can be it can be anything depending on the day.

[00:04:52] Michael Jackson: Yeah. Cool. So thank you uh everybody for coming on to the show today. I wanted to just kind of kick off. Um, you know, we've got a lot of we got a kind of a lot of features going on right now. Um, in React, which is very exciting. Some which are already released, others which are kind of uh not yet released, but we know that they're coming. And then there's still more stuff that's like, we've heard about words like fusion and fire that sound very exciting. That uh but I'm not 100% sure. So, we're gonna hopefully clarify some of that today. I wanted to start out talking about uh concurrent React, some of the stuff that shipped earlier this week. Uh, React Suspense, React Lazy. Um, we saw some demos early of that or earlier of that of of doing uh code splitting using React Lazy. I saw that in the blog post uh for the for the React uh 16.6 release. Um, could you tell us a little bit about more about uh kind of what uh what went into that and what was um kind of some of the motivation be behind the React Suspense API?

[00:05:59] Andrew Clark: So to be clear, um what went out this week was uh the Suspense component. That's React.Suspense. Yep. Uh and that's the the component that you wrap around a part of your app, and it will capture um any— if a component uh further down the tree happens to suspend, um that Suspense component will capture that and render a fallback in its place. Um so that shipped, and also an API called lazy, which allows you to do code splitting. Um, but they're neither of them are running in concurrent mode yet. Um, concurrent mode itself, the the thing that makes React non-blocking and allows us to work at multiple priorities, that uh is still behind an unstable flag. That will ship in 16.7. So we have a 16.7 alpha and it is available in that. Um, I know it's a little confusing to keep track of all of these, but um, the nice thing though is that you can still use Suspense and lazy uh and all of that even in synchronous mode uh before you're able to upgrade to concurrent mode before it's stable. And all the APIs will work exactly the same. Um, you just won't get some of the benefits that concurrent mode will unlock, which is that we can uh React can pause for a little bit later or a little bit longer uh up to a threshold to avoid showing unnecessary spinners and causing jank.

[00:07:07] Michael Jackson: Thanks for the clarification.

[00:07:08] Sebastian Markbåge: And then another clarification there is that we don't support Suspense and lazy on the server rendering aspect yet. So if you're currently doing universal rendering or server rendering, then you still have to wait for a newer version that we'll hopefully get out soon.

[00:07:25] Sophie Alpert: That seems to be our top feature request right now.

[00:07:28] Dan Abramov: Yeah. I think it's good to clarify that like some people commented that maybe it's because we don't care about server rendering, but it's just because it can't fit into the current server render architecture. And revamping that architecture is actually like a large piece of work that we're going to be doing in the next months.

[00:07:49] Michael Jackson: Are dynamic imports even a thing in Node? I mean, are people doing that?

[00:07:54] Sebastian Markbåge: They are in various environments. So you could either transpile it to existing frameworks, like CommonJS. But also Node 10 has it built in. So you can actually use it directly in Node 10. It's behind an ex- it's not behind a- yeah, it's behind a flag and with an experimental warning. But hopefully it will be in stable pretty soon.

[00:08:18] Michael Jackson: Yeah, I can imagine there's a lot of work there to do, especially with the streaming work that went in last year. I know Sasha did a lot with that, and so there's probably a lot of work to do there. Next, so so that is not what we would call concurrent React, right? The Suspense and the lazy stuff, that's not what you're that's not what you mean when you talk about concurrent React.

[00:08:39] Andrew Clark: They complement each other, but they're not exactly the same thing. So Suspense, the the reason we call it suspend, is uh well multiple reasons, but the one most people think of is it allows us to pause the render without immediately having to show a fallback. So in synchronous mode, not in concurrent mode, what's gonna happen if you try and suspend is it's going to immediately show the fallback. It's not gonna do the thing where you pause for a bit. Um that is only unlocked if you use uh once you are able to upgrade to concurrent mode. So they're separate things, but they complement each other really well. And they they work best together.

[00:09:14] Michael Jackson: Let's talk a little bit about concurrent mode. So uh in 16.7, in the alpha that was shipped yesterday, I think, at the conference?

[00:09:24] Sophie Alpert: Yesterday morning.

[00:09:25] Michael Jackson: Yesterday morning. Who was shipping that? Who pushed the button?

[00:09:29] Andrew Clark: I think uh Brian shipped pushed the button.

[00:09:31] Michael Jackson: Brian, you're the you're the button pusher.

[00:09:33] Brian Vaughn: I pushed the button and crossed my fingers that the conference Wi-Fi would hold up.

[00:09:39] Michael Jackson: I recently read through, actually, the- so I was working on the build process for React Router. So I was like, how does React do their build? And boy, did I discover some steps. It's pretty involved. Like I went into the scripts folder in the React repo, and there was like, in order to do a release of React, first, stand up and turn around 20 times. Then- like it was there was like this list of like 100 things that you had to do. Is it fairly involved? Were you doing all that stuff?

[00:10:07] Brian Vaughn: It's fairly involved. We used to do a lot of that stuff manually. And I know that over a course of several months, really, like, several of us put a chunk of time into either making better fixtures or um like running tests against the build bundle to make sure we didn't start with source that worked and then build something that broke. Um, automating a lot of the things that we used to do manually. So our release used to take like a day. I remember when we did the 15, the last 15x release in London, and it was like a nightmare.

[00:10:36] Andrew Clark: Well, I also remember, I don't, the timeline is fuzzy, but when I joined the team, it was even crazier because we had the cherry picking system.

[00:10:44] Dan Abramov: Yeah, it was like 3 hours.

[00:10:45] Andrew Clark: Yeah, so we used to-

[00:10:46] Dan Abramov: If you didn't want to mess it up.

[00:10:48] Andrew Clark: Yeah, we, we nowadays we cut everything with a master and we have this really nice script. We used to have just a manual script, like a run, what's it called, a runbook or whatever of of steps, and that was a huge improvement over what it previously was. Even before that, we we weren't cutting from master. We were doing this cherry picking system where we pick onto a release branch.

[00:11:06] Sophie Alpert: So you're correct that it's sort of complicated, but it used to be a lot worse. And so, you know, and I think it's also useful to look at the reason that it's complicated, and that's that we need to support a lot of different things. In particular, we build a different version of React depending on whether it's for React for the web or for React Native. And we have a separate uh reconciler package if you want to build your own renderer. We have a test renderer. Um all of that adds a lot of complexity. Sometimes we turn on certain features for specific build targets uh while still leaving them off for others. We also try to do the best compiler time optimizations we can even before shipping it to npm so that even if you're not using the best minifier in your app, you still get a pretty small bundle in the end. And we run the the unit tests against the built bundles. And so we have some infrastructure for that as well, where we actually compile all of our code into the exact bits that we send to npm or to the CDN and run our tests against those to make sure that nothing in our build process is introducing an error either.

[00:12:10] Brian Vaughn: Yeah. I'm also really excited about GitHub's new actions, because I think we can potentially do some of this uh in response to changes to the master branch, or maybe do a daily release of a a canary. Um, so like getting- yeah, it used to be really long, but getting it faster would be great.

[00:12:27] Michael Jackson: Yeah.

[00:12:27] Sophie Alpert: Basically, it's one command now.

[00:12:29] Michael Jackson: Nice. Automating releases is a huge chunk of work, I've I've found, at least in the mono-repo architecture that's becoming kind of popular these days. I definitely piggybacked on a lot of the work that I saw in the scripts directory and uh the the React repo. So thank you all for uh for making that so clean. Okay, so we cut 16.7, y'all cut 16.7 yesterday morning. 16.7 is where we get concurrent mode, specifically the concurrent mode component class, and then also uh the createRoot function, which is on the the kind of React core object. Those are both-

[00:13:05] Andrew Clark: Yes, on ReactDOM.

[00:13:06] Michael Jackson: Yeah, that's right. And uh so both of those are the ways that you enable concurrent mode.

[00:13:11] Andrew Clark: Yeah, so uh it's a little confusing, I will admit. Um it's on the ReactDOM package because it's an alternative to React DOM.render, but the the basic story is that uh if you want to upgrade— there well I guess there's two stories. If you want to upgrade an existing app, the first thing you'll probably do is you'll go and you'll wrap uh certain parts of your tree that you think are ready to upgrade in this component called Strict Mode. Brian and Dan wrote a really long article— um really thorough article, I should say— uh earlier this summer that details all about Strict Mode. It's really just to help prepare you for Concurrent Mode by giving you some extra warnings at dev time. It has no no changes in prod, so you can just wrap it around anything you want. Without fear of breaking something. Uh it'll also do uh it'll double invoke lifecycle methods or certain methods and user functions in development mode to kind of flush out any side effects that you might accidentally be performing in the wrong place. Um and so once you uh wrap uh your components or your parts of your app in this strict mode and you fix all the warnings, then you can upgrade to concurrent mode. And this is the thing that actually will opt you into concurrent mode. But it'll only opt in that subtree and any updates that originate from inside that subtree. Into concurrent mode. So if any update originates from like a parent or from the very root, um those are outside the the uh concurrent mode subtree, so those will still be synchronous. So if you want to opt the entire root, and including the initial mount, into concurrent mode, then that's when instead of using the uh the special component, uh you swap out the top-level root call, which today is ReactDOM.render. Instead, you call this API called ReactDOM.createRoot. And then on that root object, you call render and you pass some children. And that is the thing that opts you into concurrent mode. So I know this is a little bit of a- as I'm speaking, it sounds a little bit insane. But uh I promise we will document this very well. And uh I think I don't think it'll be that confusing.

[00:15:02] Michael Jackson: No, I think that's very clean. I think that's- I don't think that's very bad at all. So concurrent mode. So you mentioned strict mode. Recently, as a as a library author, I I I wanted to make everything uh in React Router compatible with uh with concurrent mode. And so I actually just went and wrapped all of our tests in strict mode just to suss out all of the warnings. So any library authors who are listening, that might be something that you want to do to get ready for concurrent mode. Just wrap everything in strict mode, see where you're, you know, using old lifecycles or the old context API or something like that to get things ready for concurrent mode. Let's talk a little bit about testing, because typically concurrency kind of makes things difficult to test, right? Like one of the things that's most that I think is so nice about these React components. I can just plug in some props and and maybe simulate some user behavior and then I'm done. Um, concurrency sounds like it could make that a little bit trickier. Are there any problems that you've seen or that you're sort of anticipating with concurrent mode and testing?

[00:15:54] Sophie Alpert: So, we have some good news and some good news. The first good news is that uh React generally works pretty well. And so, for the most part, you can trust that React is gonna do its job and it's gonna render your components with the right props. And so in many cases, it's actually totally fine to test your components in synchronous mode in your test the exact same way that you have been doing today. And you can trust that, you know, React's not gonna get the props mixed up. It's not gonna- You know, one of the things we do with concurrent mode is we never allow the user to see any inconsistent state. So we always do everything at once. So we'll calculate it behind the scenes and try to get everything ready, but then once we're actually making changes to the DOM, all of that happens at the exact same time, so the user always has a consistent picture of your tree. And so you can always trust that that's going to work. Your job isn't to test React, that's our job. But that said, uh the second piece of good news I have is that for the cases when you do actually want to test specific concurrent things in your app. Maybe you're working on uh a data library and you you want to make sure that the right things get rendered at the right time. We're working on some test helpers that you'll be able to use for that. Those are gonna be part of the React Test Renderer. Uh we're also looking at adding some helpers to make it easier in like Jest or another test runner to uh expect that exactly the right things have been rendered at the right time. And we're gonna try to make it possible to do that so that basically you can mock out time completely. And you can say, okay, let's say that React starts rendering it and it gets this far and then it gets interrupted and some other work happens. And you can specify exactly the order that things happen so that you can make sure you're testing the same thing every time.

[00:17:39] Brian Vaughn: We actually published an alpha of the React Jest package with those custom expect to blah helpers, but they're prefixed with unstable because they might change a little bit.

[00:17:48] Andrew Clark: It's also the exact same strategy we use to test React itself. So if it's good enough for us, it's probably good enough for any advanced use cases that a like a data framework might want to test. So we're dogfooding it.

[00:18:01] Michael Jackson: Awesome, thank you. Another one of the packages that uh that was talked about today— um well, there are two other packages specifically. There's the Scheduler package and the React Cache package. Um the Scheduler package, from my understanding, uh —and it's a pretty shallow understanding—is uh is basically something that is not meant to be specific to React. It's maybe just kind of filling in some—uh maybe just some holes or some things that you would like to see in the native browser APIs. I was reading through the source, and there was a comment about about how you couldn't use requestIdleCallback, and there was kind of a postMessage hack that was kind of in there. Uh, with with regards to the stuff that you're doing in the Scheduler package, it's my understanding, basically, that that you'd like that stuff to be sort of built in. Can anybody sort of talk to that, or what what's going on in the Scheduler package, and and who you've been working with, and how's it going?

[00:18:57] Sebastian Markbåge: Right. So the Scheduler package is uh really providing a priority queue for your whole platform. So it's about getting certain uh work to have higher priority than other work. And one thing that is problematic with a priority queue is to have two different ones. So if you have two different priority queues, you can only work- you can only pick everything from one and then pick everything from the other one. It's hard to say whether high priority in your priority queue is higher priority than high priority in my priority queue. So which one do you take? So that's kind of a fundamental- coordination problem, because you only have one resource, which is the CPU in this case. And if we have many different ones- so at Facebook, for example, we've noticed that when React tries to have its own scheduler, it's hard to coordinate with other libraries and systems within our website, because they will take precedence, or or we'll take precedence. And uh Ultimately, I think that we want to be able to, as the first step, share this with multiple libraries and and various frameworks. And that's why we kind of broke our scheduler out into this general scheduler package, which allows us to iterate on this and and perhaps uh collaborate with more libraries and frameworks to um see if there's overlap there. But Ultimately, this is something that needs to go deeper. Because even if we are able to coordinate everything in the JavaScript community and on your website, we're still not coordinating with the work that happens inside of the browser. And the only way we're gonna get there is by adding scheduling into the browser. So that's kind of where the ultimate goal here is, is to actually push this all the way into the platform. And that's why we're collaborating, for example, with the Chrome team to look at what this might look like in a more standard form.

[00:21:03] Michael Jackson: So basically, maybe a native API to say, hey, this this work here has a certain priority. This other work here has less of a priority.

[00:21:11] Sebastian Markbåge: Yeah, but also make it convenient so that if I'm currently working at a high priority, then subsequent work that I spawn will also have that priority. Or if I'm currently working at low priority, I don't want uh my next scheduled work to be high priority by default. You want it to be low priority by default. So you can it's it's all about coordinating between different systems in a very convenient way as well.

[00:21:36] Michael Jackson: Are there any heuristics you can use to sort of automatically determine what sorts of work deserve high priority and low priority? For example, keyboard and mouse input, stuff like that?

[00:21:47] Sebastian Markbåge: Yeah, so there's uh certain things that actually requires still to be synchronous. And that's because of the legacy APIs that you work with. And and a lot of these APIs, such as text input, have have deep consequences into the operating systems. And so for those things, we tend to do it synchronously by default. Um, there are certain events that we've observed are Needs to be serial, because they always happen in a predictable order. So if I tap things once or twice, um, and tap A and then B, it has to happen in the order A and B. Um, and also they are discrete. So like if I click click um A and B, I can't batch them up into maybe like an AB event. I can't have like an A/B click necessarily. Whereas with things like mouse moves, you can typically batch them up. You can do things like throttling and stuff like that. So throttling is something that typically- where you would use throttling today is where you typically can have low priority by default tomorrow.

[00:22:59] Michael Jackson: That makes a lot of sense. Thank you. One more question about the uh the scheduler. Is that something that people sort of opt into when they use createRoot/concurrentMode, or is that something that's sort of- how do you sort of opt into that in 16.7?

[00:23:14] Andrew Clark: So, React will use it when you're concurrently rendering with React. It'll be part of the framework, so the user won't have any uh interaction with that package. Um, and I think in general, most most instances of this scheduler package will probably come at the framework level. So, for instance, a very common one will be a router. Or every time a user clicks on a link, um the router can automatically uh set the priority of updates that are triggered as a result of that um navigation. Uh and so the user will automatically get the correct priority, which is you know just normal non-blocking priority for that navigation, um without having to do anything extra. Um but there will occasionally probably be some times when, uh as in the example perhaps that I showed- well, actually the example I showed in my talk today was an example where the router probably would just handle the the tab being deferred. But um there probably are some cases where the user might want to import the package themselves and and schedule at a certain priority. But I think, I don't know, I'm guessing it'll probably be pretty rare, and the frameworks will uh give a a good experience just kind of by default.

[00:24:17] Dan Abramov: We've started trying to avoid saying uh low and like high priority, because what we've observed is that people start thinking that Oh, my stuff is important, so like it has to be high. And then if like every priority is high, then this doesn't actually help us with anything. Uh, so instead, we uh we started using normal priority for just like normal uh events like router change. And then user blocking priority for things that have to happen right now, such as, for example, hover. And uh so that they interrupt. Uh things at the normal priority.

[00:24:56] Michael Jackson: You know, I I like to run all of my code at high priority. That's why I always use componentWillMount instead of componentDidMount. That's that's how I can make sure it runs fast.

[00:25:06] Sophie Alpert: That's why we got rid of it.

[00:25:07] Michael Jackson: You're just trolling me. All right. Um there was also another API in uh in 16.7 uh from the React Cache package. Now, I was talking to Andrew about this a little earlier. It's uh called CreateResource. And you said, you know, maybe this is just sort of a reference implementation just to kind of give people an idea of how this could be used. Um, it used to be called the SimpleCacheProvider, if I'm not mistaken.

[00:25:33] Andrew Clark: Yeah, so we've gone back and forth on this package. It's had many different names. Uh, I think the original name maybe is pretty apt. Our current thinking is that, um, realistically, the way most people will probably end up using this caching strategy that we've described in conjunction with Suspense is via one of the data frameworks like Relay or Apollo, which is uh pretty good because if you're already using one of those frameworks, then hopefully uh you'll just get a lot of this behavior just for free out of the box without having to do that much to your to your code. Um but we wanted— uh you know in the initial few weeks and months of the Suspense release, we wanted people to have a way to try this out um and get a sense for what Suspense is like even before all of their frameworks might update. Plus there's always gonna be these smaller things like perhaps images or uh you know one-off things that you get from the server that don't necessarily need a full-blown solution like Apollo. And perhaps React Cache or something like it will be useful for those cases. I would say it serves about two purposes. One is as a reference implementation perhaps for these other libraries like Apollo and Relay. Uh and the other is um just for these basic one-off use cases.

[00:26:43] Michael Jackson: Awesome, thank you. I want to talk about uh the profiler. So, there's a a new profiler that shipped with, I believe, React 16.5, uh the DevTools profiler. So, if you've got the React DevTools installed, you'll now have a profiler tab, assuming you're running 16.5 or later. Um, and the profiler lets you kind of take a look at how- I don't want to say this the wrong way, right? Because it the approach is it lets you see how long a certain commit took. We're not actually talking about like wall time here. We're talking about time that React took to take the work, which I think is significant in the context of all of this concurrent stuff that we're talking about, because React could, you know, start doing some work, start rendering a tree. Oh, there's a fetch. Okay, now we've gotten back from the fetch. Now we're doing more work. I bet that was kind of tricky to put all together, right?

[00:27:33] Brian Vaughn: Yeah, it was. It was tricky, um, in part because I I wasn't familiar with some of the code that I had to work with. And Sebastian and Andrew were super helpful uh getting me ramped up on it. The profiler shows you time spent rendering your components. But it shows you that time grouped by commit. And when I say commit, I mean when React committed changes to the DOM or to the NativeView. You can see the wall time. It's it's actually there in some form. But it's more about the duration spent on the components. And this is um this is really important because Ever since we added error boundaries, but even more so with concurrent mode, um, the the time React spends rendering your components is- it might be a little difficult to like parse with the traditional browser profiling tools. And we wanted to give the user sort of a nice, clear, succinct picture of that. Whereas if you look in like the profiling tab and you see the time slicing, it's actually kind of spread out and kind of hard to stitch together.

[00:28:34] Michael Jackson: Well, and with all the other stuff that the browser's doing anyway, too, you get, you know, you like some, you know, you render a list of 1,000 items and one item took 3 milliseconds and the rest of them were super quick and you look at that one and think, what was that? GC? You know, like what was going on? So it's, I I I like the approach that you took of uh basing it on on commits.

[00:28:54] Brian Vaughn: We also tried to make this more actionable because it doesn't really show you the time React may have spent doing something, which is not something you can improve. It shows you more or less the time spent inside render functions and life cycles that you control. And we tried to make it beginner-friendly with like the coloring and the sizing. Beginner-friendly is not a great word. Um, because it's helpful even to like people who are really familiar with the profiler, like me. Like I use it all the time, and the colors, where it just makes something pop, is really helpful because- Sure. With a traditional uh flame graph, you um you might spend sort of more time scanning and looking for the delta between each level in the tree or in the graph, whereas with this, we just- hopefully the colors sort of pop and give you like really quick um hints of where you should focus initially. Um and it and it works in a way that sort of hopefully hides the some of the inherent complexity of concurrent.

[00:29:48] Michael Jackson: Uh you actually showed me, Brian, a piece of the Facebook ads interface yesterday, that and we ran the profiler on a little bit of it, and there was a this giant flame graph, which was really interesting, but it was really hard for me to sort of wrap my head around and figure out how to read the flame graph. I guess I just need to search and be like, how to how to read a flame graph. Is there any any way that you uh learned how or things that you found useful?

[00:30:13] Brian Vaughn: Uh, yeah, um, maybe. I think, I hope our DevTools flame graph is a little more um digestible than sort of the traditional browser flame graph. Um, it basically shows you sort of 2 pieces of- well, I guess 3 pieces of information. It shows you the name of your component. Um, the Ads Manager that we saw was a production, I think it was like a minified, so the names were all single letters, which is not super helpful. But normally in dev mode, at least, it'll be the name of your React components, which if you're working on an app, you're probably familiar with that. You're probably somewhat familiar with your tree, so it's a little easier to scan. And then it shows you a number, which is the amount of time in milliseconds that we spent rendering that component. And then it shows you a color. And the color is really where the important information is. So it's a it's gray if it didn't render at all because it was a pure component or just it wasn't part of the tree that updated. And then it's a gradient of sort of cool blue for fast to like bright yellow for slow. And so ideally, you just look at the graph. And if anything is bright yellow, you know like that's the most expensive thing. And then you look at the number. And you see, oh, but that was only a tenth of a millisecond. I don't care. Or you see like, oh, that was 300 milliseconds, I do care. Um, and then you have to sort of use your human brain to decide whether it's something you want to optimize from there.

[00:31:28] Andrew Clark: My human brain.

[00:31:30] Michael Jackson: A non-human brain? What would a non-human brain think of this?

[00:31:33] Brian Vaughn: Sorry, that's a term I picked up from a long time ago. I meant to say, so I mean to say, um, intuitively you might say, well, why don't you just tell me what needs to be better? Like, why don't you have some heuristics? And it's a little tricky because as developers, we're often using really fast laptops. And so something might be fast for us, but doesn't mean it's fast for everyone. And also, we use our apps so often, we sort of fall into patterns that are maybe more efficient. So I was helping someone, I don't remember who, but we were profiling a dropdown typeahead component the other day. And they had a debounced input, and it, after some small delay, would filter a really big list of items. And we saw in the profiler that that filter took about 100 milliseconds. But it only ran once. But I I thought, well, yeah, but that's because you typed really fast. And so the filter function only ran once. But I've seen people type. And like they're often like tick, tick, tick. And the filter function might run a couple of times. So it's important to remember that like what the profiler shows us might not be how the users experience the app. And so this is why we tried to give you sort of the the raw information in a like digestible way. And then we let you sort of decide what to act on.

[00:32:39] Michael Jackson: Got it. And there's also, of course, the Trace API, which um is uh is just kind of the way to say, hey, uh I wanna I wanna output something to the profiler here. I wanna send the message uh send a message to the profiler. Here's the date and the timestamp. I thought that was so that kind of completes the the package about profiling. Super excited to use that.

[00:32:58] Brian Vaughn: Really quick note. I will say that you can use Trace in a programmatic way as well. And the idea is that maybe you You use a profiler around the root of your app or a couple of small parts of your app to track data over time. And then maybe you see, oh, well, this part of my app became slow around this date. I don't know why. That's when you can go in and use Trace to add some labels to things you think might be the cause. And then the profiling API, just like the DevTools, will tell you like, hey, this was a commit, it took this long, and this was the label or labels that was associated. So it can also be like a nice way for you to sort of dig in and find the cause of something. Even if you can't reproduce it locally, maybe you just sort of gather data from users with that.

[00:33:41] Michael Jackson: So would you would you uh envision somebody sort of like taking snapshots of that data and then tracking performance over time? Or maybe just checking out two different commits of the app and-

[00:33:50] Brian Vaughn: Either. So we're we're using um uh inter- the the tracing— uh we're using Trace uh a little bit and the profiler a little bit at Facebook, um within New Clyde, for example. To gather metrics for our users to see if there's regressions over time. I don't know if they've found anything yet, but they the data they said has been like coming in and looking and looking like it will be helpful in the future if there's a regression. So.

[00:34:13] Michael Jackson: Okay. Let's talk about the uh let's talk about the big one here. Hooks.

[00:34:19] Sophie Alpert: What are hooks?

[00:34:21] Michael Jackson: Also known as fixins, smushins. Uh what other names do we have? For the hooks?

[00:34:29] Dan Abramov: Attachments.

[00:34:30] Michael Jackson: Attachments.

[00:34:32] Sophie Alpert: Pins.

[00:34:32] Andrew Clark: I think we considered effects at one point. Not that seriously, but that would- I remember seeing the list and I was surprised by that.

[00:34:39] Michael Jackson: Effects?

[00:34:40] Andrew Clark: It seems weird now.

[00:34:40] Michael Jackson: You could have shortened it to the letters FX. And

[00:34:44] Sophie Alpert: that must have been before we decided on the name useEffect.

[00:34:47] Andrew Clark: Oh yeah, it was. Yeah.

[00:34:48] Sophie Alpert: Originally it was useLifecycle.

[00:34:51] Michael Jackson: Ah, useLifecycle. Huh. Yeah, I like that.

[00:34:57] Sophie Alpert: But we decided useEffect was better, so don't get too attached.

[00:35:00] Michael Jackson: Yeah, no, right. useEffect is way better.

[00:35:02] Dan Abramov: Do we want to reveal the original name?

[00:35:05] Sophie Alpert: I've told a couple of people at this conference already.

[00:35:09] Andrew Clark: It was bad. We shouldn't.

[00:35:10] Sebastian Markbåge: It will always be augmenters to me.

[00:35:13] Michael Jackson: Augmenters? Like A-U-G- But

[00:35:18] Brian Vaughn: then no one could spell it, including-

[00:35:20] Dan Abramov: Even Sebastian wrote augmenters. Like ors, or, E-R-S.

[00:35:27] Andrew Clark: That should be the name. It should be exactly that, verbatim.

[00:35:30] Michael Jackson: No, but I mean, React is very helpful when I misspell things. If I misspell component will receive props, it tells me, right?

[00:35:36] Andrew Clark: If you misspell hooks, we should have a nice method.

[00:35:38] Michael Jackson: Yeah, yeah, yeah.

[00:35:39] Andrew Clark: A message for that too.

[00:35:40] Michael Jackson: We could have-

[00:35:40] Sophie Alpert: But you never typed the word hook in your source code.

[00:35:43] Andrew Clark: Oh, that's true, yeah. If you misspell use.

[00:35:46] Michael Jackson: That's right. That's right.

[00:35:48] Sophie Alpert: Y-O-U-S-E.

[00:35:50] Michael Jackson: So let's talk about that. Let's talk about the the spelling, because there are a couple of things that are kind of significant. About the hooks API. Um, I'm I'm gonna go through these. There are a couple of things that um that you know that that I personally consider to be non-issues. But uh some people-

[00:36:07] Andrew Clark: You don't have to apologize. We know your friend doesn't like it.

[00:36:10] Michael Jackson: My my friend. Let's back up. Let's back up. I want to first of all talk about what these these hooks are. They are ways to add stateful logic, basically encapsulate some stateful logic And add those to functional components, which, you know, historically have just been a function of their props and maybe uh context. They now have the ability to use state and also to have side effects like in, you know, uh class components can do in componentDidMount, componentDidUpdate, etc. So, this is awesome, right? And and and the the the benefits I think are are pretty huge, right? Um, we've seen a couple of people uh using um using the hooks in their talks. Uh Ryan showed a talk where he just- there was way, way, way less code. Um and so that's always a huge win whenever you can cut down on just the amount of code that's written. So I I teach React a lot for for my job, and I love the fact that there is no more this or function binding um that we have to worry about like we do in the in the class API. Sophie pointed out in her talk that hooks are more human and machine-friendly.

[00:37:19] Sophie Alpert: Hopefully.

[00:37:20] Michael Jackson: Yeah, no, I I totally agree. The the well, so the the human-friendly, I think, uh makes sense with the first 2 points that we've made. Less code, uh you know, none of the binding and things. I want to talk about the machine-friendly a little bit, because I I think that's actually really significant, right? It seems like a a purely functional approach to creating components is much more friendly for a minifier, um because you can actually munge the function names and variable names a lot easier than you can munge uh prototype method names. Um I was talking to Tomo. He he actually brought up a really good point. He's like, he goes, people will be able to like copy and paste a lot more code now. I thought that was an interesting thing.

[00:38:01] Dan Abramov: So, I remember moving from Backbone to React at some point. And one thing that really impressed me about React is that I could just like cut some code from a From a component and move it into another component and it would not crash. So like maybe like I need to also move event handlers for it to work, but it did not crash like it usually did crash in Backbone. But that only worked with the render method. So like it's if I needed to move some life cycles, then I need to think, okay, what is the order of those things? How do I merge them together? And like usually I would need to fiddle quite a bit before I could do it. But it's interesting that with uh with hooks, you can actually like copy and paste. Um so some IDEs uh let you extract the function. And that's kind of like extract extracting a custom hook is just extracting the function. And it's also easier to copy and paste some rendering code together with like the effects and the state it uses. And it should just work in another component.

[00:39:02] Andrew Clark: One of the things we're uh we have plans to build, but we haven't yet for our website, for our docs, is like a collection of what we're calling recipes. I think it's very highly inspired by the React Router, I think you call them recipes maybe in your docs, where perhaps we'll even literally have a copy button next to these recipes for very like practical use cases. That would be awesome. To encourage people like, hey, you don't necessarily need to- well, first of all, you don't have to think of these solutions yourself because we've given you some help. But you also don't necessarily need to, you know, go to npm and install this pattern. You can just copy it from our from our uh nice recipes collection and paste it into your app and see how it works.

[00:39:41] Michael Jackson: Is there a DOM API for copy to clipboard? Or do you still have to use Flash?

[00:39:46] Andrew Clark: I think there is one now. I think it's-

[00:39:49] Michael Jackson: That would be awesome if we used Flash on the React website.

[00:39:52] Dan Abramov: You can probably use a hook for that.

[00:39:55] Michael Jackson: Use Flash.

[00:39:57] Andrew Clark: It might only work in Chrome, but I think there is one.

[00:39:59] Michael Jackson: We have come full circle. When uh Dan first showed me hooks, the thing that really stood out to me- so you know, he showed me some- here's some useState, here's some useContext. And then he said, and now look at this. We can wrap up all of these, you know, useEffect, useState, whatever needs to happen into another function called useWidget or whatever, right? Use whatever name you want, um, as opposed to spreading out the logic for, you know, one behavior across componentDidMount, componentWillUnmount, componentDidUpdate. We can now more easily group logic together in chunks. That to me was such a huge win. Such a huge win. Because uh I mean that we're talking about copying and pasting. Like that really makes these bits even easier to sort of move around.

[00:40:51] Sophie Alpert: That's definitely the thing we're most excited about, I think. And one of the reasons that we really love this design. Um we posted the RFC yesterday, which is our proposal for The design we currently have uh for hooks, and we're open to changing it. But one thing I noticed is that several of the comments we got were, oh, can we instead do it this way, which, you know, might have some slight advantages or be nicer in certain ways. But I noticed that all of the alternative proposals that people posted did not allow you to extract this sort of logic in the same way. They don't really support this custom hooks model. And that's really the thing that I think we love the most about it because it really has the potential to help you simplify a lot of your code and to, you know, as Dan and I were saying in our talks, share logic between two components in a simpler way. You know, I was just talking earlier about what it takes to make a useReducer hook, uh which could potentially be a replacement for Redux Connect right now. Um I was talking to the maintainer of React Redux about that. And I think it just opens up a lot of possibilities for simpler APIs.

[00:41:59] Michael Jackson: I heard somebody describe this useReducer specifically as like Dan and Andrew's plan to, I guess, integrate Redux into-

[00:42:09] Andrew Clark: There's also my other great sin, which is recompose.

[00:42:11] Sophie Alpert: Which has now been deprecated.

[00:42:14] Andrew Clark: Which I deprecated, yes.

[00:42:15] Michael Jackson: Hey, you did the you did the responsible thing there, Andrew.

[00:42:19] Andrew Clark: Yeah. I agree. No one's yelled at me yet. I think it's fine.

[00:42:24] Michael Jackson: You're good.

[00:42:25] Andrew Clark: I haven't even pushed a change in like 2 years, so I don't know what they would complain about.

[00:42:28] Michael Jackson: Not that I think it needs defending, but I think there were a lot of common objections to the uh the Hooks API. Uh you know we've talked about some of the benefits. Um some of the kind of— you know it's it's I think Dan described it as unusual. You know, calling hooks is not conditional. Uh, we should always name hooks beginning with the letters U-S-E, use this, use that. Um, so that way it's easy for the linter to find, okay, where we're using hooks and make sure that we're not doing things like, uh, you know, hiding them behind an if statement. Um, also, the, um, you know, the the order in which we call the hooks uh matters, um, which Honestly, when I'm writing code and I'm calling functions, it always matters the order that I call those functions in. So, I think that's kind of a non-issue. Um, the main the main challenge that I saw and that I'm a little concerned about is that darn second argument to useEffect. I mean, I get it. But I think it might pose a, I don't know, kind of a little bit of a learning curve for some people. So, for example, I saw um the kitsa this morning playing around with hooks. Yesterday. Obviously, JavaScript developer, very proficient at it. And he he made this thing called React Hanger. He he was just playing around with hooks, getting used to them. He posted something called useLifecycle. And uh and it had like a method onMount and onUnmount, I think. And and Dan said, hey, hey, hey, hold up. 100% of the time, you know, this API is going to have uh stale values in these callbacks. Which wasn't something that was kind of immediately obvious to either him or me, honestly, on first glance. And then the more I thought about it, I thought, oh yeah, because he's probably passing an empty array as the second callback, which means it's only gonna get run once. Um, any thoughts about that? Or, I mean, it's it's kind of a necessary part of of how the API works, right?

[00:44:31] Sebastian Markbåge: The mental model that I always have about these second arguments is that they're You shouldn't necessarily have to think about them as necessary. They're more like performance optimizations. And that performance can be detrimental. It can be that it's really just the application is unusable unless you do this. It can be that bad. But the key is that you're forced to think about how does React handle this. Because React only thinks about one thing. It thinks about the render function over time. It doesn't have mount. It doesn't have update. It doesn't- It doesn't have uh these separate things. It doesn't have go from A to B as a separate thing. It's only gonna get some props, and it's gonna do whatever it does with it. And as a result, when you're dealing with an environment outside of React, which is what useEffect is for, you have to translate React's language into that world. If you just exclude the second argument, you're generally fine. And then you add it to optimize performance. But the key is that you can get also get help. So it's possible to build lint rules. So we're looking at this where you can kind of track- it's possible for type systems to track if you've included everything in your list. You could potentially even automate this with like simple Babel plugins. Um. So it's possible that you can make that easier, but I think the first step is to have the right mental model. That you're doing something in a declarative way, and that you have to translate into an imperative way, which means that you have to handle all cases, not just the ones that you happen to think about right now.

[00:46:10] Dan Abramov: I also wanted to add that I think with this API, it's it's pretty noticeable when it goes wrong. But I think what's less noticeable is like when you compare it to a classic example, you probably usually compare it to like um to a classic example, just componentDidMount and componentWillUnmount. And these are actually insufficient in many cases. So if you open our documentation for the hooks proposal and read the whole page uh called Using This the effect hook. It compares the uh the example with a class and with a hook. And then it points out that the example using the class is actually subtly broken because in the example, it subscribes to user by ID and inMount and unsubscribes in componentWillUnmount. And this is like uh representative of a lot of React components, how they do things. But if the ID changes midway, you actually need to remember to unsubscribe from the previous ID and subscribe to the next one. Otherwise, you're gonna have like a memory leak and potentially a bug because you unsubscribe from the wrong one later. And so hooks kind of force you to confront all these things a bit earlier. And so it seems like they make they make it a bit steeper climb because you have have to like think about them. But then once you get it right, it's probably more correct than what you would have written in a class.

[00:47:45] Michael Jackson: I totally agree, right? You in that case, you would say, okay, this effect is dependent on the ID of the user, right? And so-

[00:47:56] Dan Abramov: So you you would start by not like by not specifying anything and just resubscribing every time. And so it's consistent by default. And like if your API is just reassigning the reference, then it doesn't even matter. Like it's not a performance problem. But if it is, then this is where you say, okay, it depends on ID. And in this case, you can optimize it like this.

[00:48:18] Michael Jackson: Awesome. Um, okay, there's just one, uh, well, two last kind of things that I wanted to cover in this uh podcast. So thank you all for for all of your input on hooks, profiling, uh concurrent mode, uh Suspense. We've covered a lot of ground. Uh the last thing I wanted to talk about is kind of how React feels like it's becoming more of like a framework these days. For example, React.lazy. It's a it's an approach for uh loading code, possibly other asynchronous things. We had uh some API for that like in the early React Router days. We had our getComponent API. So it was basically like, if you go to this route and you have a getComponent uh function on that route, then we're gonna go and call that function. It could return a promise or a call or call the callback when it's done. But that would be, you know, where where a lot of people did a lot of webpack uh code splitting. And we still get a lot of feedback from people who are still on those versions that are like, yeah, we we really found that useful. We were doing a lot of code splitting using that getComponent hook. We removed it because we didn't want to be in that business of being a framework. We just wanted to be another React library. Uh I was actually really happy to see it integrated into the core library because now uh I can tell people who are on v2 and v3 to say, Hey, you know, if you can upgrade to React 16.6, you can do your code loading with React, which is where I think it belongs. And then the router will just do the routing for you. But it definitely does feel in that regard like, you know, if if we're going into framework territory, you know, it it feels like in some ways like it's not just JavaScript anymore. It it behaves a little bit differently if it's in a render than if it's not in a render. Does that

[00:50:05] Sophie Alpert: Yeah, so I think when we first released React, we started with the simplest possible thing that we could, and we wanted to really nail that and do that perfectly before looking at how we could expand. And I think we actually did a really good job at that overall. You know, many people use React, most people seem to be happy with it. Then we took a step back and said, what are the things that people have the most trouble with in their React apps? And we found a couple of things. You know, we found that data fetching and code splitting are really common tasks that basically everybody using React has to do. And more importantly, they're things that they can't build as good a solution for in user land as we can build into the framework itself. And so you can look at, for example, Jamie Kyle released this library, React Loadable, which tries to make code splitting easier. And It does a great job at that, but it's also not as powerful as what we can build into the library itself. It's not as flexible and as easy to use as react.lazy because we didn't really have that capability there in React. And so that's one of the reasons that we decided to build it in. The other reason is that for certain things like code splitting, that's the sort of thing Where not only are your components lazy, but humans are lazy too. And if you don't have to code split your component in order to make it work, a lot of people are gonna forget to do that and are gonna be lazy and are gonna just put everything in one bundle. And ultimately, if everybody using React does that, then it's going to lead to, you know, worse outputs. People are gonna build worse apps in React if they're not splitting their code properly, and that's gonna lead to the web being worse for everyone. And so we said, okay, if we can build in code splitting into React, then that means that more people are actually going to split their code because we're making it easier to do. And that's really important to us as well. The other thing I would mention in response to your like, oh, is React adding more ceremony to do these things? Before, you would just call into XMLHttpRequest or whatever built-in method in order to do certain tasks. I would say yes, we are adding a few cases where there's a little bit more that's React-specific about it, where now the way that you fetch data is slightly different from how you might do it outside a React app. But what we've seen is that the new methods that we have for how to do these tasks tend to be a lot less error-prone and a lot simpler for people. And so ultimately, it's going to be easier for people using React, and hopefully you end up with a better result.

[00:52:47] Dan Abramov: I wanted to address the "it's not just JavaScript" specifically, which is I think it comes up a lot, especially with regards to the hooks design and the its dependence on the call order and the unconditional thing. Um, and I think that um People feel uh people feel that it's surprising that we add a limitation on what you can do. But if you think about it, uh there is already plenty of limitations. So if you, for example, your your render function, even in a class, is supposed to be pure. So you can't just like put setTimeout in it. So does it mean that it's not JavaScript because you can't setTimeout it? Um, probably not. It just means that we constrain it because we know that we can benefit from these constraints. Because now that it's pure, uh, we can uh render it piece by piece uh without worrying about like showing intermediate uh uh results to the user and then commit it all together. And so React takes advantage of that purity. And it seems that uh with hooks uh is also limiting you, but it also gives you the benefit in return, which is that uh you can create these stateful abstractions like custom hooks uh that can compose with each other. And you can use one hook multiple times. You can pass data between them. And this is what is enabled by that uh unconditional uh rule. And if you think about it, even in a class, uh you don't try to define your state conditionally, and you don't define your life cycles conditionally. So it's a bit of a mind shift, but I I think I disagree with saying uh it's not JavaScript. I think it is a useful subset of JavaScript.

[00:54:44] Sophie Alpert: I think componentDidMount, people feel that it's very simple, 'cause I I just say componentDidMount and people are like, okay, that runs once when the component mounts. And you'd think from hearing that that it's actually very easy to be able to implement that and do the right thing. And it turns out that it's not easy because there are a lot of nuances that you need to understand to be able to do that properly. And so we're trying to move from an API that looks easy but is actually hard to an API that looks a little bit harder when you first see it but ultimately has fewer pitfalls.

[00:55:17] Andrew Clark: I I don't know about y'all, but when I first saw the life cycles, I did not think they looked easy. I had no clue what the difference between any of them were. I didn't know where it was. What the difference between will receive props was and did mount. I had no clue whether I was supposed to fetch things or call setState. So I'm curious, like, if we could go back in time and put people in a vacuum and like show them both proposals for this is how React in the A group works and this is how React in the B group works, what the comparative reactions would be. I assume a lot of people would still like classes because they're classes and there's a familiarity there. But um.

[00:55:49] Sophie Alpert: You know there exists people who don't know React yet.

[00:55:52] Andrew Clark: That's true. We could do this actual study. That's true. We'd have to go to the far reaches of Antarctica.

[00:55:58] Michael Jackson: I'll volunteer. Wipe my brain. Do the Men in Black thing. I'll come to React like I don't know it. And we'll do an experiment. Okay. I don't I really don't want to take any uh more of your time. There is one one last question. One last question. So, we all know what React Fire is.

[00:56:18] Sophie Alpert: Uh, you say React Fiber?

[00:56:20] Michael Jackson: Fire. Fire.

[00:56:22] Andrew Clark: Is it such a coincidence that they both start with F?

[00:56:24] Michael Jackson: Well, you wrote a you wrote a blog post about React Fire. Um, there's this other word that I hear floating around, React Fusion, which sounds- I mean, it sounds very exciting, to be to be quite honest. Um, Sebastian, what can you tell me about React Fusion?

[00:56:41] Sebastian Markbåge: So React Fusion is this uh kind of meta name for —or exploration of of uh ahead-of-time compilers of React components. So it's a little bit in the style of what Glimmer has been doing with bytecode, or what Svelte has been doing with ahead-of-time branching. And it's kind of focusing on, if we take a React app, um what are the practical benefits we could get out of of static optimizations? Um, and it's a very interesting space, but it's also a very difficult space, because static analysis of JavaScript in general is just a very difficult space. And it's particularly when you're talking about a space that hasn't had a lot of exploration in academia or or other places. Um, but the the first kind of step so to towards this is Using the Prepack project, which is a project we open-sourced a couple years ago. It's still very very early. And we are we have some experiment in production, but that doesn't mean it's necessarily production-ready for anyone to use. Um, but it's it's really feeding into this kind of research project. And we're we're but right now, we're trying to see what data we got from that research and see if we can figure out a way to productionize it and maybe even use make it palatable for open source tooling to to absorb. But it's gonna take a while. It's very early still.

[00:58:10] Michael Jackson: All right. Well, we'll try not to drum up too much hype around that then. But it it does sound really cool. Uh, we actually did uh episode uh earlier this year with Nikolaj Tillman, who from the prepack project, and he had some really interesting things to say about it. So we're we're looking forward to hearing more about that. All right. Well, thank you all for being here. Uh, with us today at React Conf, and we will see y'all next week on the React Podcast.

[00:58:37] Michael Chan: Thanks so much for listening to this episode of React Podcast. Shownotes are available at reactpodcast.com/27. A very special thanks to the React Core Team, who, after a very long conference, Gave their time to sit with us and answer your questions. If you enjoy the show and want to partner with us in producing future episodes, please visit reactpodcast.com/partner. Your help goes a long way in producing this weekly show. Thanks so much for listening. We'll be in your ears again next week.