chantastic.fm

87: Chris Biscardi on a Post-Webpack Web Development

Episode 87 · March 26, 2020 · 00:57:58

Hosted by chantastic · With Chris Biscardi

Sponsored by Infinite Red

Download MP3 · Jump to transcript

Chris Biscardi and I talk about using the platform — what happened in the browser while we were webpacking all-the-things-in-js.

We talk about the future of JavaScript meta frameworks, a return to Rails, serverless provider lock-in, and the value of content creation in an economic downturn.

Featuring

Links

Sponsors

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. This week, Chris Biscardi and I talk about using the platform. What happened in the browser while we were webpacking all the things in JS? We talk about the future of JavaScript meta frameworks, Egghead's brand as a service model, a return to Rails, serverless provider lock-in, and the importance of content creation in the face of an economic downturn. I actually have a favor to ask you. If you have one of those fancy podcast apps that allows you to capture and share little 30, 60-second clips, could you do that in @reactpodcast? Those little snippets help us extend the conversation onto different social networks like Twitter, where everyone else can have a lot of fun in the conversation, not just Chris and I. Thanks in advance for your participation. I wanna tell you about Infinite Red. If you're building a React or React Native app and you're feeling stuck Stuck? Check out Infinite Red. They're pro unstuckers for React and React Native projects. They've helped hundreds of companies like yours build beautiful, functional web and mobile apps, and they teach you as they build. In fact, they're terrific teachers. They've taught tens of thousands of developers through open source and their annual React Native conference, Chain React. React Podcast listeners get 2 free tickets to Chain React 2021 for referring or starting a new project. Visit reactpodcast.infinite.red to start and build a beautiful, functional app today. Chris Biscardi, welcome back to React Podcast.

[00:01:43] Chris Biscardi: Hey, thanks for having me. It's great to be back.

[00:01:45] Michael Chan: So, we were having this chat on Twitter. Uh, you were there, you know. And I was just like- I was. I was like, you know, we should just- we should get together. We should turn our mics on, record something that, you know, actually like everyone can listen to. Uh, so, this is kind of like new- new for React Podcast. Usually it's like kind of like more like interview than than just kind of talking about the industry and whatnot. But, you know, you you have a pulse on all these things and I wanted to get- I wanted to kind of globalize this conversation. So, thanks for joining me.

[00:02:15] Chris Biscardi: Yeah, thanks for having me. It's uh always great to talk to you. So, appreciate it.

[00:02:19] Michael Chan: So, in the time since we last hung out, uh one of the most popular topics was uh your content pipeline. People were really interested in that and kind of how you optimize for like continuing. And I just wanted to kind of get an update on that, how it might have evolved, how things are different now, et cetera, et cetera.

[00:02:38] Chris Biscardi: Yeah. So, um, I have continued. Uh, just to put a point on that. Yeah. So, I I kept writing and kept writing and kept making screencasts and stuff like that. And, um, I think I'm I'm over 100 blog posts now. I'm over 100 Egghead videos at this point.

[00:02:54] Michael Chan: Awesome.

[00:02:54] Chris Biscardi: Um, I've done a couple of different other experiments and stuff like that. I started making like these 60-second Twitter videos that are kind of interesting. So, yeah, I got I have sort of my base in blog posts and Egghead screencasts. And then I sort of expand into like other random stuff as I feel interested and see how it works. So, I kept doing all that stuff. I kept sort of like removing little frictions and doing them manually from my process until I hit a point where I was like, um, well, there's no tool that now has all of these little frictions removed that I have now identified in my process. Uh, so, I did that thing and I built a tool that I could write in. Uh that is MDX first and uh sets up for a digital garden and things like that. So, I built that tool uh starting in like January. So, like January 1st, basically.

[00:03:43] Michael Chan: Wild, wild. So, so, so, that's interesting because the last time we talked, you were like building or like had just finished building Gatsby themes. So, I'm I'm kind of curious like the shape of like— like I guess I hate to use the word deficiency or whatever, but like kind of like what was lacking in your work there that kind of moved over into this new this new project?

[00:04:04] Chris Biscardi: Well, so, I ended my contract with Gatsby, right? So, that's how contracts work. They eventually end. Um, and uh the thing I built, I'll give a name to it. It's called Sector right now. Like a sector of a circle. But Gatsby Themes is like the the UI side of things, right? It's like the you can put in data sources and UI components and whatnot and just chop them up and throw them around and things like that. It's the the WordPress themes competitor. But there's still the other side of WordPress that is the content authoring and uh managing and editing and tagging and all that kind of stuff. Uh and nobody does this for MDX.

[00:04:42] Michael Chan: Huh.

[00:04:42] Chris Biscardi: And MDX is how I write all of my content. Uh so, I took basically everything that I really cared about of the frictions that I removed over the the year of writing and whatnot. And I basically just started building a tool. And I knew that it wouldn't be great to start, right? The first editor was actually an input and not even not even a text area. So, I had one line.

[00:05:06] Michael Chan: I love that. Real simple. Starting real basic.

[00:05:13] Chris Biscardi: Now it's like a slate editor and it has like a bunch of fancy things on it. But like at one point it was literally an input. Um, and yeah, so it it ships MDX. It talks— uh so we'll talk about serverless and stuff later. And it it basically is built entirely on serverless.

[00:05:29] Michael Chan: Oh, killer.

[00:05:29] Chris Biscardi: Started on Netlify Functions, moved to AWS Lambda. Uh does DynamoDB now, streams, stuff like that. So we can talk about that at some point. But um, yeah, so it's been really dope. Uh I really like it. I have like one or two other people using it right now. Um or like a small, basically like a super alpha group of users that don't mind if things-

[00:05:49] Michael Chan: Sure.

[00:05:50] Chris Biscardi: Like sort of break. The data integrity is there. So, I can't force anybody to lose anything. Which is the most important part. Uh, and it works. So, yeah, I'm super excited about that. I think that the editor that I built for Sector will eventually make it into the MDX core like open source repo.

[00:06:06] Michael Chan: Oh, killer.

[00:06:07] Chris Biscardi: So, that'll be pretty exciting when that happens. Uh, I don't know when that's going to happen. But that's the intent. So-

[00:06:13] Michael Chan: Wow.

[00:06:13] Chris Biscardi: Between me and John, we've been thinking about sort of like the problem of MDX and editors for a while now. Uh, and we're eventually going to have something that is an editor, either a WYSIWYG or like an IA Writer kind of thing in the MDX repo. So, we'll see.

[00:06:27] Michael Chan: That's awesome. You know, I have to say, the more I use- like I feel like I had like a notion of what MDX was. And I and I think it was born from like all of the other like processors I've used for Markdown in the past and like other languages. But the more I dive into MDX, like the more I realized just how insanely powerful it is and how much you can use it for. It's just ridiculous.

[00:06:54] Chris Biscardi: Yeah. I'm super excited about it. So, like, I don't know. I found MDX I think like 2 years ago at this point, maybe. Uh, and I started building Gatsby plugin MDX. And that was just like- so, I turned that into basically the most advanced Gatsby- or the most advanced MDX plugin for any- anywhere, right? So, if you want to use MDX in the- like it's as MDX, like that's the place to do it. Um, which is super exciting and cool. Um, I gave that off to Gatsby, so I no longer maintain it. Uh, which means that now I get to free up my mind to work on like what would I do if I was building this stuff from scratch with everything that I know now.

[00:07:30] Michael Chan: Yeah, just brushing it out of your mind. Some spring some spring cleaning.

[00:07:34] Chris Biscardi: So, I did that, too.

[00:07:35] Michael Chan: Nice. Now, real quick, real quick, before we go into that, like I have to— like I I would be remiss. I'm staring at your, uh, your, your party corgi tank right now. And I'd be remiss to not mention that these are available. Tell me, tell me about how that came to be. Like, Egghead now has these in their store, right?

[00:07:57] Chris Biscardi: Yeah. So basically Joel was an awesome human being, uh, and he was like, so you do you want to sell these? And I was like, yeah, I was actually trying to set up a store, like at the time that he asked me, and I was like, well, uh, like, I don't know what I'm doing. And like, Egghead, uh, I forget exactly the wording they use to describe sort of like what they do at this point, but it's like, uh, I think Joel refers to himself as a VA sometimes, effectively, like a really well-connected, really well-done kind of VA kind of thing, uh, for production specifically. And he just like-

[00:08:32] Michael Chan: What's it in? Sorry, what's a VA?

[00:08:33] Chris Biscardi: Like a virtual assistant.

[00:08:35] Michael Chan: Oh, okay. Gotcha. Gotcha.

[00:08:36] Chris Biscardi: Like, just like somebody who has the connections can put them all together, knows what to do. Uh, and like, I'm sitting there going like, uh, people in my Discord are asking me for like a party corgi tank top. I don't know how to source material. I don't know how to- if I'm just gonna choose a service and like hope that the tank tops are like of a decent quality. Uh, yeah. And Joel's sitting here over like, I already know how to do all of that. Uh, would you like me to just send an email? Because that's what it is for him now. Whereas for me, it's like days worth of research and like, what the fuck do I do here? Um, so that's how that came about. Uh, basically Joel is an awesome human being.

[00:09:16] Michael Chan: He's kind of like brand as a service now, right? Like, yeah. Which is, which is awesome. I freaking love that. And it took me so long to realize like what- I think from the outside, it's hard to realize like what Egghead like does and like what Joel does and like his vision and like how it's kind of more than videos. It's about like humans and and all that kind of stuff. And the the closer I've gotten to it, the more I'm like, oh man, this is freaking awesome. Like all the crap that like you have to do, but like don't have any context for how you would do it. And you're gonna stress out about, and like in all your, like in your very limited free time, like just squander away. Like that's what Egghead does. Like they just do all of that for you.

[00:09:57] Chris Biscardi: Yeah. It's like, um, Like you, you could, uh, be Wes Bos and build your own like video platform or whatnot.

[00:10:04] Michael Chan: Yeah.

[00:10:04] Chris Biscardi: Uh, or you could have let Egghead do it. Uh, yeah. And then Egghead doesn't just do like a video platform. They do like a whole bunch of other stuff that you don't realize they do.

[00:10:13] Michael Chan: Yeah.

[00:10:14] Chris Biscardi: Until you're in. And once you're in, you see it and you're like, oh, wow. Like, oh, shit.

[00:10:20] Michael Chan: Yeah. And the benefit of like a, I don't know, $100,000+ subscriber list. That's probably how much it costs to like actually send an email.

[00:10:33] Chris Biscardi: Yeah. I mean, like everyone at Egghead is just so awesome and so nice and so like insanely creative and productive and like- like, have you seen Maggie's illustrations?

[00:10:43] Michael Chan: Oh yeah. We actually just- we just released an episode today talking about uh just her process and like what she does and kind of how deeply she thinks about everything. And it's like-

[00:10:56] Chris Biscardi: Yeah.

[00:10:57] Michael Chan: I mean, you think like, oh, yeah, like I'll just get an iPad Pro and like maybe draw some things for- no. You're not even-

[00:11:02] Chris Biscardi: I'm gonna have a birthday.

[00:11:03] Michael Chan: You're not even in the same sport.

[00:11:05] Chris Biscardi: And then I'll draw my stick figure. Yeah. I think that um I think that the primary reason that I want to create egghead courses is so I get a sticker that is made by Maggie. That is like- like of all of the things that that does for me, like the sticker is like my favorite.

[00:11:26] Michael Chan: Oh, man. I seriously, like, on the, like, dark nights when I was, like, really pushing through, like, the difficult episodes, like, you know how that goes. Like, there's some episodes that are just, just so hard to get through. And it's like you do it and then you, like, edit it and you watch it and you're like, that's shit. And then you have to, like, do it again. Like, like, during those dark times, I was just thinking, like, at the end of this, I get a Maggie Appleton original and, like, that's, that's what I'm after right now.

[00:11:55] Chris Biscardi: I mean, that's what I have. I have even, uh, GraphQL illustration on the wall behind me. That's that's like I would buy 1,000 more Maggie posters.

[00:12:06] Michael Chan: Oh, yeah.

[00:12:07] Chris Biscardi: In a heartbeat.

[00:12:09] Michael Chan: Keep putting them out. We'll buy them. So, this kind of overlaps with the project that you're working on kind of like uh post uh themes. And um just kind of like what's going on in the industry. I feel like we've been so focused on just getting JavaScript to work. Like as a community that I think a lot of us haven't like actually stuck our heads up and like to see like what's available, like what has made its way into the platform, like what uh we don't have to think about or like concern ourselves with on like a low level anymore. And I feel like your um your your new project Sector kind of pushes the boundaries of like what you don't have to do anymore. Um could you talk about like the inspiration of of that and and the areas in which you're actually like depending more on the platform instead of the tooling that has kind of been the primary focus over the last, I don't know, 5, 6, 7 years?

[00:13:04] Chris Biscardi: Sure. So, um, so basically, Sector is like the content editing side of things and stuff like that. Uh, and then I built a second thing uh called Toast. Because why would I not just rebuild literally the entire vertical stack to redo my site? Uh, which I'm I'm intending to launch today. So. That's my public commitment to launching that. But yeah, so basically, uh with Toast, which is like this uh Jamstack meta framework, uh I'm currently referring to it as like a compiler of websites. Because it it doesn't include Webpack or anything anymore, right? It's completely doesn't have a bundler. Uh relies on the browser for ES6 imports, uh for dynamic imports, for basically everything. Right? Like if you basically can't use uh the client-side bundle in IE because we depend on all of the stuff that is greenfield. Or not greenfield. Uh

[00:13:57] Michael Chan: evergreen.

[00:13:58] Chris Biscardi: Evergreen. Thank you. Um very brownfield browsers. But evergreen. So, yeah. So, that's that's Toast. And Toast is basically like the idea of um if we didn't bundle anything and we didn't use Webpack, and we didn't do all of that like complexity, which like there are plenty of other meta frameworks going down that rabbit hole, right?

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

[00:14:21] Chris Biscardi: That is a very well-explored design space. Good for them. It's good for the industry, et cetera. Um, but what if we just didn't have any of that? How small can we make it? Like what does it turn into if you don't have to have these like uh congestion points where you have to take all of your code and put it through a bundler and then you can render it out in an HTML file, right? If we just keep everything as ES modules, what we can do is just require everything that you need. You get the dependency graph already. And then you just render the HTML file. So, you get these like actually incremental uh compiling. Like you can do a single HTML file with just the files and just the data that matters.

[00:15:05] Michael Chan: Wild.

[00:15:05] Chris Biscardi: In a way where you can cache every single step all the way up to the HTML file. Uh, and this is like something that's really hard to do if you're like embedding Webpack and embedding like GraphQL server inference and things like that. So, yeah, it's it's super interesting. Uh, and I think that we can push that idea even further. So, like Jamstack Jamstack sites sort of had this reputation of not scaling for really large sites. Like news sites, right? Like there's a lot of content. Most of it doesn't change. Occasionally you do a redesign, right?

[00:15:39] Michael Chan: Sure. Yep.

[00:15:41] Chris Biscardi: But if you take the ES modules like approach, uh this gives you the ability to say render your top 1,000 pages in CI and then defer all the other work into a bunch of lambdas that can just push HTML files to the CDN.

[00:15:57] Michael Chan: Oh, okay. Yeah, yeah, yeah.

[00:15:59] Chris Biscardi: So now like all of your important stuff is rendered and you know that. But you get to like choose priority-wise what you render and when. Which is kind of amazing.

[00:16:08] Michael Chan: So you're kind of like backgrounding the re-rendering of these pages. You're just like-

[00:16:12] Chris Biscardi: Yeah.

[00:16:12] Michael Chan: Oh, yeah, these ones, like the last- like the tail after the the after the first 1,000, like, eh, whatever. Like we don't care a whole lot about those. So just do them when you can.

[00:16:21] Chris Biscardi: Yeah, exactly. Uh, and that's like that's if you change like code, right? That's if you change something that affects the entire site. If you just ship one thing. Because this is an actually an incremental compiler, it will just render one HTML page and like, I don't know, maybe the post list and stuff like that. Like if you have a blog or something like that. Um, but you you're rendering only what changes. Which is super interesting.

[00:16:46] Michael Chan: That's so wild. So now what are the- I guess what are the tradeoffs? Like what what do we not have solved yet? Because obviously IE is a problem. Um, so you're kind of you're you're saying like I don't know, it's like 2% of global traffic, right? So you're you're saying like screw off to like 2% of of people who need to actually process the JavaScript client side.

[00:17:07] Chris Biscardi: Yep.

[00:17:07] Michael Chan: Um, and then like I I know that there has been some, I guess, performance concerns with uh client side modules. Um, but does that even affect kind of like a- I mean, is that something that people need to be worried about at every level? Or is that more like kind of like high-performance type of stuff that that would hit you?

[00:17:30] Chris Biscardi: Yeah. So, basically, if we if we take this approach of unbundled by default, which is like what people are calling ES modules first, right? Uh, then you can focus on bundling as a performance optimization if you're loading too many files.

[00:17:44] Michael Chan: Gotcha.

[00:17:45] Chris Biscardi: Right? So, like you get to scale your site up to the point at which you actually have performance problems in this very simple way and very understandable way. And then when you hit that point, you still have the option of bundling stuff.

[00:17:57] Michael Chan: Interesting. Right?

[00:17:58] Chris Biscardi: Like you can do whatever you want. They're your files. And yeah, I mean, if you want to include Webpack or Rollup or Parcel or whatever, you can just say, okay, I'm going to make a bundle that is like this set of ES modules. And I'm going to ship that- like I'm gonna ship my component library as an ES module. Right? And it's just going to export everything.

[00:18:18] Michael Chan: Gotcha. So, sorry, I'm trying to like think about this practically in a way that like I can understand. So, like let's say like so let's say you start and I I feel like a design system is something that that I can wrap my head around. And you start and you put like your your you got like your your your avatar, your buttons, your panes, your everything is like an individual ES module, let's say.

[00:18:39] Chris Biscardi: One file.

[00:18:40] Michael Chan: But then you're like, uh this this like this doesn't make any sense like to be like you know having each of these kind of come in independently. Like we just want to version this system. You would take all of those components, like none of the rest of it, just like the stuff that pertains to like the design system, put those in a bundle, and now that's kind of like accessed and cached as like a single like file.

[00:19:00] Chris Biscardi: Yep.

[00:19:01] Michael Chan: Interesting.

[00:19:02] Chris Biscardi: And because we're doing like entirely single files on both sides, on the prerendering and the client side, uh that just gets— like you take advantage of all of the browser's native caching and stuff like that.

[00:19:12] Michael Chan: Yeah.

[00:19:12] Chris Biscardi: Like somebody downloads the file, you don't have to use like a service worker to cache the GET request for that file.

[00:19:18] Michael Chan: Well, this is- I mean, this is super fascinating. And one of the things I wanted to talk with you about, because it feels like- like it feels like we got into a mindset like as as a as a community, right, that every problem needs to be solved in JavaScript. And like I've kind of come up- I've kind of come out against this in like with with CSS kind of for the same reason. There's so many cool things. Like if you're just like, hey, we we don't support that 2% now. Or like if we do, we're just going to build polyfills for that 2%, right? And and and support it kind of like in the way that you're you're saying with the the modules. Like just solving that problem in isolation instead of always solving for the minimum case. Um it it seems like so much has happened in the platform. And I know there's this kind of like, you know, JavaScript developers hate the like use the platform like verbiage. But like it feels like, yeah, like it's actually like it actually happened. Like it's happening. And we're kind of missing it. And we're like doing our communities maybe a disservice by continuing to, uh I guess, push too heavily on some of these kind of like well-worn grooves in our like JavaScript brains.

[00:20:29] Chris Biscardi: Well, I think that— um so I think there's a a spectrum of design space here, right? And like You have Next and you have Gatsby and you have all of that kind of stuff way over here. They've like they've gone all in on Webpack, right?

[00:20:42] Michael Chan: Yeah.

[00:20:42] Chris Biscardi: And as a result, you're not going to remove Webpack from those systems, right? Not easily anyway. And it's gonna be a multi-year effort. It's probably not even worth it.

[00:20:52] Michael Chan: Yeah, you just build the next thing.

[00:20:54] Chris Biscardi: So, you just build layers on top of that.

[00:20:56] Michael Chan: Yeah, yeah.

[00:20:56] Chris Biscardi: And like that's not a bad approach for them. That's what they've chosen to do. But it does mean that when you want to do things like code split, or dynamic imports, that you're now using Webpack's entire system, right? You have to use that if you're going to do dynamic imports. Uh and even then, you have to use like third-party polyfill library-ish kind of things like uh Lodable Component, et cetera, uh to do the prerendering that Gatsby, et cetera, do.

[00:21:23] Michael Chan: Right.

[00:21:24] Chris Biscardi: Um whereas if we just rely on what the browser has today, uh when we can, Because you can't always- have you tried to style a progress bar recently? I was doing that yesterday. Like that was- but like there's a bunch of stuff that like is there.

[00:21:39] Michael Chan: That is a thing for me.

[00:21:40] Chris Biscardi: Just real quick.

[00:21:42] Michael Chan: Like like I wish that we'd just stop progress on everything and be like let me style my friggin' forms. Like just give me like form controls over- like, ah, sorry.

[00:21:52] Chris Biscardi: No, I'm totally with you. But like- But I like I do think that there are there there's two different ends of the spectrum. And like yeah, we we have this end that is quite complex, right, and has a bunch of tooling. And there's a reason for that. Because we weren't always in the state that we are today.

[00:22:09] Michael Chan: Yeah, yeah.

[00:22:10] Chris Biscardi: But I do also think that uh we just hit a point where there's a lot of stuff that's usable and people are still heads down and they haven't quite realized it yet.

[00:22:17] Michael Chan: Yeah, yeah.

[00:22:18] Chris Biscardi: And if we're at a place where we can build uh like the meta framework that starts with ES modules as opposed to the meta framework that depends on Webpack. Right? Which basically all of them do at this point. So, I think that there's um there's drawbacks in the sense that it's still super early. Right?

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

[00:22:36] Chris Biscardi: Like Snowpack is what you're using if you're shipping ES modules like this at this point and you want to use anything from npm. Right? So, we have some uh legacy baggage in terms of like CommonJS. Versus ES modules and stuff like that still that we have to deal with. We'll have to deal with that for a couple years. Uh but maybe like 3 years from now, we don't have to deal with it as much.

[00:22:55] Michael Chan: Yeah.

[00:22:56] Chris Biscardi: Um and then maybe we uh maybe we have more advanced tooling. Uh like Snowpack is super nice. And we get to push a bunch of processing to like install time. Uh just like we were saying with the design system, right? When you install your design system, you can have just Snowpack just build that ES module for you. Like you don't have to worry about it.

[00:23:15] Michael Chan: Yeah.

[00:23:15] Chris Biscardi: I was like, and then that doesn't happen at like develop time, right? So, you make one change and you don't have to worry about like rebuilding the entire world. You just change the one file that you changed and then you check your browser.

[00:23:27] Michael Chan: It's fascinating to me that that like on this side of it, it's kind of like a like an opt-in for optimization type of thing, right? Like if you just depend on the platform, you can opt into the optimization. Uh, that you need, um, or the polyfills or whatever. But when you, like you said, depend on Webpack from the beginning or a similar tool, whatever it might be, when you depend on that from the beginning, it's- you really can't opt out and kind of migrate your, your app or your site or whatever, uh, to using the standards when you have to depend on this like full pipeline, like as like the base layer for your, your content building.

[00:24:09] Chris Biscardi: Yeah. And then like there's other things like people require CSS files, right? And they require PNG files. And those don't exist in the browser. Like you can't require a PNG.

[00:24:21] Michael Chan: Yeah.

[00:24:22] Chris Biscardi: So, what do you do with that? Like I've solved this problem by using Babel to handle that. And like Kent made Babel plugin preval, right? Which allows you to run like a little script that gets pulled out of the file when you compile it. And then you still get this like single file. And you turn the single file into another single file and then use it. Which is super nice. So, you don't lose any of the properties that we had before. You just add like a very small like single file compile step. And then you get to require your PNGs or whatnot.

[00:24:51] Michael Chan: So, like what we've been kind of accustomed to with Webpack is is that a lot of that is like masked for us. And so, in a JavaScript file, we're just like import whatever. Like SVG, PNG, CSS. Whatever. I don't care. Like because it's all like solved for under the hood. But that is something that you kind of need to figure out uh in in this world. And you said that the what was it pre-val?

[00:25:12] Chris Biscardi: Yeah, pre-val.

[00:25:13] Michael Chan: Babel plugin pre-val is a way to allow you to do that.

[00:25:16] Chris Biscardi: Yeah, Babel plugin pre-val is a way to execute some arbitrary code that maybe uses like Node FS modules or something like that. And then that code string that you put in uh is a template string in your source file. And it just gets stripped out and replaced with whatever it returns.

[00:25:32] Michael Chan: Yeah, yeah, yeah.

[00:25:33] Chris Biscardi: So, like you could uh fs.readFile ./whatever.svg. And then your SVG is just embedded.

[00:25:39] Michael Chan: Nice, nice, nice. Okay. Now, how does that work with— like if you wanted to reference um reference other files that are of different file types? Like for example, um I really— like once we dropped IE 11 support— actually, we were doing it with a polyfill beforehand. But um I love externally referenced um SVG sprites. Like it's like my favorite way to do uh to to to do sprites. Because it's like or images. Because you get to cache like a whole set of of images. And maybe you have 5 sets or whatever. But they're all cached. They're basically just one SVG image. And then you use that like use tag to kind of reference them and use them as icons across your across your site. Now, how would you do that in like this world where I need like an actual reference to that file being served?

[00:26:24] Chris Biscardi: You just do it. Right?

[00:26:29] Michael Chan: See, it's like my brain doesn't even compute that it's like I could just use the platform anymore because I'm so accustomed.

[00:26:34] Chris Biscardi: Like you just stick that SVG sprite in your static or like whatever, right? You dump that into your production assets in some way. However you do that is up to you. Either maybe you have a static folder or something like that. Or maybe you're compiling that sprite file out of a bunch of SVGs or whatnot. Like you're doing something at some point. And you have a Sprite file somewhere. And then you can just use it because it's at the URL.

[00:26:55] Michael Chan: Love it. Just use it. Just use it.

[00:26:59] Chris Biscardi: Just use it.

[00:27:00] Michael Chan: Just use the platform.

[00:27:01] Chris Biscardi: Just use use.

[00:27:03] Michael Chan: Oh, man. Oh, man. So, it kind of- like as we talk about this, it just makes me think that I feel like we're at a place now where we're we're getting to like maturity in JavaScript and CSS and, you know, SVG. Like All of these things that we've been like pining for as as as developers to like make it just so that we could just use the platform are there. And I'm curious, like as we like look up and kind of see what's available to us and like kind of like re- replay with like some of these concepts as we build our tooling around the platform, like what what are some lessons that like you see from like other communities or tools that we should be thinking- like things like uh things like Rails, right? Like we've- it's a stable platform right now and they have like gone through a lot of hard lessons and like, you know, every group of people tries to like buck the trend of whatever it was before. But there's also lessons that we kind of like kind of turn away from at the same time. And um I mean, Rails is an example, but there's like so many you know, kind of uh communities that like preexisted like this big trend of JavaScript. So I'm kind of curious, like as you look around, like what are some things that um as people have come into like an age of maturation, like what are some lessons that we should like be thinking about with those like from those other communities?

[00:28:28] Chris Biscardi: Yeah, I think as you were saying that, I sort of thought of like 3 different projects that I would think of that have maybe different sorts of lessons, right? And that's uh Roam, Rust, and Rails, which happens to be 3 Rs. And I was laughing at that silently in my head. So, it's the uh-

[00:28:47] Michael Chan: So, name your project with a with an R if you want it to be like really revelatory in, you know, 20 years in the future.

[00:28:53] Chris Biscardi: Then we can have the 4 Rs. Um, so, Roam is a super interesting thing because basically what Sebastien has done is uh completely vertically replaced a whole suite of very complex JavaScript tooling. With a single thing. Which means that it's far easier to reason about because it's a single system. The system gets more control over the output because it controls- like it doesn't have to pass ASTs between everything and have them all have slightly different representations, et cetera. Uh so, that's a super interesting project to look at in that respect. And like what does it look like if you go back from scratch and rebuild something in total?

[00:29:30] Michael Chan: Yeah, and Sebastian, just for like history's sake, Sebastian uh originally wrote Babel. And kind of like uh passed it off to uh to to Henry Zhu. But that was kind of like his first pass at like some of these concepts.

[00:29:42] Chris Biscardi: Yeah, yeah,

[00:29:42] Michael Chan: yeah. Was Babel. And then this is kind of like a reimagination of like what it looks like to handle basically every all the tooling. Like so, Babel, Webpack, and maybe linting. Linting, compiling.

[00:29:56] Chris Biscardi: Yeah, everything. Basically testing. Yeah. And then there's uh Rust. And Rust has some really interesting like RFC, community process, automation kind of stuff. Uh, if you look at how the community operates and how uh suggestions to changes to the language and things like that happen, uh, it's a really interesting set of processes and set of automations that they have because they have like a bot for everything, right? Um, and then Rails is an interesting thing because there's been a lot of noise lately about bringing back Rails.

[00:30:28] Michael Chan: I've been making some of that.

[00:30:29] Chris Biscardi: You've been making some of that. I think that um There's two levels to this. There's the people who worked with Rails and they want Rails, right? They they're making some of that noise like you.

[00:30:40] Michael Chan: Sure.

[00:30:41] Chris Biscardi: Saying, I liked Rails. There are some things we can learn from Rails. We should learn those things and bring them forward.

[00:30:47] Michael Chan: Yep.

[00:30:47] Chris Biscardi: And then there's a separate part of that where a lot of people are looking at that and going, okay, I'll use Rails as a marketing term for my new thing. And it doesn't necessarily mean that they are learning from Rails, but they are learning that Rails is a great marketing term. So, I think that there's uh stuff to learn there as well on both sides of that, actually. Where one thing is like, um how do you get people to pay attention to the new interesting work that you're doing?

[00:31:14] Michael Chan: So,

[00:31:15] Chris Biscardi: it's not necessarily a bad thing that people are saying like, hey, this could be the new Rails. Um, but there's also like lessons to be learned from the people who were in the Rails community And I have my own opinions about uh what we should take from Rails. And I think that it's mostly the community aspects of it.

[00:31:32] Michael Chan: Okay.

[00:31:33] Chris Biscardi: Um, but also, I never worked in a production capacity shipping Rails. So, take my opinions on Rails with a grain, huge grain of salt.

[00:31:41] Michael Chan: Well, I like that. I like that that separation that you that you made. Because I think on one side, the the marketing side, that like that's very like the the VC way of communicating about a product, right? It's like the The X of Y. Like the past thing for the the new group. It's it's a very nuanced thing, right? Because I know for me personally, I I feel the same way as you. There's a subset of things that I find interesting about Rails that we haven't really like recaptured yet.

[00:32:12] Chris Biscardi: Yeah.

[00:32:13] Michael Chan: But there's also a lot of like bad things, right? Like I think that the reason that, um, you know, React probably skyrocketed past Ember was because Ember stuck too closely to the concepts in Rails and wasn't as flexible to like new things as like other applications, like more like JavaScript-heavy applications needed.

[00:32:35] Chris Biscardi: Mm-hmm.

[00:32:36] Michael Chan: But then at the same time, it's like I feel like I've seen so many apps and so many problems from people who uh have only ever kind of solved the problem directly in front of them that would have been solved If we had if we had borrowed some of the structural concepts that were popularized in Rails.

[00:32:56] Chris Biscardi: Yeah. For sure. I'm curious as to what you think those are.

[00:33:00] Michael Chan: Well, so, yeah. So, I I think that for me, one of the biggest things, like one of the biggest values that I got from Rails, and and this is tricky, right? Because like uh modern web applications, like JavaScript-heavy web applications, like tend to get their data through GraphQL, which is a much more like advanced way of thinking about data than REST.

[00:33:23] Chris Biscardi: Mm-hmm.

[00:33:24] Michael Chan: However, I thought like one of the core- like one of the most beautiful innovations of Rails was this idea of like we took HTTP and we took all of the verbs there and we basically mapped them to like concepts that were shared between like uh databases and like routes and controllers. Like basically it was just like, hey, what's HTTP doing? And like let's connect that in a logical way all the way through to the database.

[00:33:50] Chris Biscardi: Mm-hmm.

[00:33:50] Michael Chan: And I like I love that. Like I like I still use those that language to communicate like the like what a page does, right? Like is this a list page? Is it a show page? Is it a create page? Like it's— um or I guess a a new page. The create is an action or whatever. Anyway. But like that's the— like I find that language so valuable. Mm-hmm. And I know that pages are more complicated than that. Now. But there's something very helpful about thinking about your application views in the language of REST. Which kind of gets- like I said, it gets dissolved a little bit. It gets squishy when you don't actually have a REST backend. But I think it's still helpful in like as an isolated concept.

[00:34:32] Chris Biscardi: Yeah, I think that's super interesting uh as a general take. And I think that goes a little bit into something I've been thinking about with serverless lately where it's basically um you ship a GraphQL endpoint or something like that and that talks to whatever, your your Dynamo or something like that. Uh and that works when it's small. Just like Rails works just fine when it's small.

[00:34:52] Michael Chan: Yep.

[00:34:53] Chris Biscardi: Uh and then as you sort of scale up and you start building out these very big schemas and stuff like that, uh that seems to work against the general recommendations of what you do when you want a Lambda to be fast. Sure. It starts getting bigger. It starts having more code. It starts having more requires. It uses more memory, et cetera. Right? So, I am very curious as to uh if that will push the- because GraphQL is basically a JavaScript thing, right? Like there are other language implementations, but the primary one is in JavaScript. And I would say the vast majority of people use the JavaScript implementations from Apollo or whatnot. Because that's where all the VC money is even.

[00:35:36] Michael Chan: Yeah, yeah.

[00:35:37] Chris Biscardi: But I'm curious to see if that pushes us towards uh either uh something like what Next is sort of pushing for, right? Where like okay, maybe GraphQL isn't necessarily the thing. Right? Maybe we go back to the Rails way of just saying like you have a function, it's basically an RPC call. We find some naming that works. And then you just start shipping very small functions and a lot of them. And then you have very small, very fast functions for single-purpose stuff, right? Uh, and that's really nice because then you can just delete one when you're done with it.

[00:36:08] Michael Chan: Yeah, yeah. So, do you feel like a Rails type of structure would be helpful in guiding how those things like work? Or like like how you would structure those um those lambdas?

[00:36:21] Chris Biscardi: It's interesting. Because like Serverless Framework does this a little bit. Um, it doesn't quite do it to the point of like mapping it through to the frontend, right? And there are starting to be like emerging meta frameworks uh like Redwood and whatnot that are trying to take some of this and do it. Um but they're also built on Webpack. Um everything, everything's on Webpack. Super valuable project. Very appreciative of all those maintainers.

[00:36:48] Michael Chan: Yeah, oh, absolutely. I mean, it it it brought us so far. And it's not— like it's still extremely valuable. Like so much of the web is built on it. But it doesn't mean like we shouldn't like look up and be like- What else is going on?

[00:37:01] Chris Biscardi: But yeah, I'm I'm so with Toast, I'm sort of thinking about this. And uh we haven't figured out where that's going to go yet.

[00:37:11] Michael Chan: Yeah.

[00:37:12] Chris Biscardi: Uh because I focused more on the prerendering and if it'll even work with all the ES module stuff, et cetera. But there is an aspect of that that connects it to serverless. And I think that in the end, when you think about Jamstack and you think about serverless, they're basically the same thing. They're an operationalized way of building and distributing your applications, right? They're not a specific stack. They're not a specific whether it has servers or not. I think they're both terms that basically mean uh this is how we build and develop and deploy stuff, right?

[00:37:44] Michael Chan: Yep.

[00:37:44] Chris Biscardi: So, I think that there is going to be a merging of the Jamstack and the serverless sort of like patterns of thought. And things like that.

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

[00:37:54] Chris Biscardi: And I'm really excited to see sort of where that goes and to figure out what the best solution there is in the end. Um, but yeah, it's something that I'm I'm starting to put a lot of thought into. Because uh I think that with Toast and like being ES modules first and stuff like that, it has to have some kind of serverless backend.

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

[00:38:13] Chris Biscardi: Because I think that's the future. I think that I think that the functions are the future for anybody working with serverless technology. Because you don't really want to run Docker. Right? The people running Jamstack are not running Docker. And the people running Docker uh are either running or don't want to run Kubernetes. Right?

[00:38:31] Michael Chan: Sure.

[00:38:31] Chris Biscardi: So, I think there's a lot of complexity in that ecosystem that's going to sort of get pulled into cloud providers. And we're already seeing a maturation of serverless in general with AWS leading the way.

[00:38:45] Michael Chan: Yep.

[00:38:46] Chris Biscardi: But I think that over the next year, you'll see everybody else ship serverless whatever. Sure. I don't know generally. But like I think that the I think that you'll see everybody that doesn't currently have a serverless offering suddenly pop up with a serverless offering.

[00:39:00] Michael Chan: Yeah, yeah. Well, this is really interesting. I'm curious to get your take on this. Because I'm I'm I'm very far removed from being actively in serverless, um in the serverless world. But it feels to me like there was this big move um like towards virtualization, right? And so, it's basically you had hardware in the cloud, right? Like so you took what you were doing and then you moved that into the cloud, right? And so, that's where, you know, Docker really shined and then like, you know, Kubernetes did, I don't know, tie it all together and make it happen, orchestrate it. I don't know. I'm saying stupid things now.

[00:39:34] Chris Biscardi: I mean, I have a video if you need to watch it.

[00:39:36] Michael Chan: Yes. We'll link that for sure. And I'm gonna watch it. I'll be like, oh, man, that was dumb. Can I cut that out retroactively? Um, so then- but then serverless kind of like leapfrogged it. But at the same time, there's- when you do serverless, at least right now, it feels like you're kind of beholden to your serverless provider, right? Like you're using AWS as your platform. Or you're using, you know, Cloudflare Azure platform, Azure. Like these become your platform in the same way that like Rails or Webpack or whatever are your platform for building code. Is that kind of like a safe understanding of it?

[00:40:17] Chris Biscardi: Yeah, I would I would say that that's yeah, for sure.

[00:40:19] Michael Chan: Now, how does that like how does that impact like uh like availability, right? Because if you like if you just have a a a a box on someone else's like on you know Amazon's cloud, like you can still have that box on Azure. And so, it's not like a big deal. But like how does this all work, like if you want to do serverless, but you kind of want to protect yourself against, you know, just being on one platform? Like is that a thing or is it not a thing? Like you just opt out?

[00:40:49] Chris Biscardi: So, the concern here is lock-in to a particular vendor?

[00:40:52] Michael Chan: Kind of, yeah.

[00:40:53] Chris Biscardi: So, I actually have uh gotten this question quite a bit. Uh and my opinion is that you're already locked in somewhere.

[00:41:01] Michael Chan: Okay.

[00:41:02] Chris Biscardi: Uh because of your data. Right? It's not necessarily because of the functions and the compute. It's because of the data. Because once you have any significant amount of data, that becomes extremely hard to move anywhere.

[00:41:14] Michael Chan: Huh. Okay.

[00:41:15] Chris Biscardi: Right?

[00:41:15] Michael Chan: Okay. Yeah.

[00:41:16] Chris Biscardi: Um, if you have a database and yeah, okay, when you start out, you're like concerned about kilobytes and maybe you're concerned about megabytes and whatnot. And then like you start having terabytes of data.

[00:41:27] Michael Chan: Yeah.

[00:41:27] Chris Biscardi: And then you start having hundreds of terabytes of data. Like, what are you gonna do with hundreds of terabytes of data to move from Amazon to Azure? Right? That's a huge effort. You are locked in. Yeah. And it's not because you used like whatever database, because if you use Postgres on AWS, you can still move that to Azure or you can move that to GCP if you're running Postgres yourself. You still have to move that data. You're still locked into that. And it's still a giant maintenance burden and operational cost. And like I just don't think that uh the functions are the thing keeping you on AWS.

[00:42:04] Michael Chan: Yeah, because like at some point you have like a literal truckload of data.

[00:42:07] Chris Biscardi: Right. Like literally. Like AWS has a service that will ship you a truckload of data because it's faster than putting it over the internet.

[00:42:15] Michael Chan: I love that. It's like everything's like everything's cloud and it's light and fluffy until you actually have to like see that data and you're like, oh, shit. Yeah, that's a-

[00:42:25] Chris Biscardi: That's a lot. How do we protect 18-wheelers worth of SSDs? Like I don't even know the answer to that question. What if you had a bug? What do you do? Sorry.

[00:42:37] Michael Chan: So, so, in some way, it's kind of like almost like an admission of guilt, right? You're like, well, actually, we're already logged in. So, whatever. We're just gonna build a couple cloud functions to to to access it.

[00:42:48] Chris Biscardi: Yeah. I think there's there's one other thing that I didn't say that I I would like to to say. And that's uh if you are not locked in on some level, then you are not using the competitive advantage features of the thing that you're using. Right?

[00:43:00] Michael Chan: Interesting.

[00:43:01] Chris Biscardi: If you use an ORM and you plan to move from Postgres to MySQL or whatever, uh then you are using the generalized subset of features that Postgres and MySQL and whatever else you might move to all have.

[00:43:15] Michael Chan: Yeah.

[00:43:15] Chris Biscardi: Which means that you are not using any of the interesting features that could make you do things that are better than what your competitors are doing. Right?

[00:43:24] Michael Chan: Yeah, yeah, yeah.

[00:43:25] Chris Biscardi: So, like, on some level, you want to be locked in because you are using things that are giving your business a competitive advantage.

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

[00:43:35] Chris Biscardi: And I think that moving compute from one provider to another is really not that big of a deal in the grand scheme of things. Right? Like I can move from Netlify Functions to Lambda. Trivially. They both use Lambda under the hood. Um, so, they so, they both use the same function signature. It's a little harder to move from like GCP and Lambda and whatnot. But it's still compute, right? The compute isn't the hard part.

[00:44:01] Michael Chan: Yep, yep. That's fascinating. I this is this is a good take. I'm I'm uh I'm I'm learning things right now.

[00:44:09] Chris Biscardi: I appreciate when people call my takes good.

[00:44:12] Michael Chan: Yeah, yeah. No, it's It's hot and good. It's a hot and good take. It's a warm cup of coffee take. Um, okay. Cool. Cool. All right. All right. All right. I'm like, I'm, I'm, I'm on board with this. Like, I, I like that notion and I have always, uh, I kind of in the same way that there's something to be said for like intellectual honesty about whatever you're doing. Right. And I think that it's, it's super important to, like you said, not like, not pat yourself on the back because like you're using the ORM and you are like platform agnostic or like database agnostic. When you're stuck, like your data is literally stuck at one place. It's like, it's kind of like, well, like, yeah, you like, you got this part of it like totally locked down, but like as a whole, like you're not actually doing- you haven't done anything. Like you you just have a fake victory.

[00:45:04] Chris Biscardi: And you actually haven't won that battle at all, actually. Because if you move from Postgres to MySQL, they operate differently. Which means that the same query will do a different thing.

[00:45:13] Michael Chan: Yes. Yes. Yeah, we've seen that like going from just like kind of like raw like MySQL instances to uh DynamoDB. And it's like all of a sudden, it's just like the database falls over. It worked before. Like isn't it just the same thing? I thought it was the same thing.

[00:45:29] Chris Biscardi: Yeah. Like if you go from MySQL to RDS or something like that, totally different, right?

[00:45:34] Michael Chan: Yeah, yeah, yeah. Oh, man. Well, hey, we're uh we're closing in on an hour. And like we didn't even get to uh Get to some of the content stuff. So maybe we'll have to do it another time, but I want to at least cover it a little bit. Um, right now we're in like a crazy time in the world. Like it's just, it just like total, total mayhem. And, uh, but also like, yeah, it's wild. Like the the the markets are crashing. Like we everyone's staying inside because we got this like virus thing going on. And, um, we don't usually talk like current events, but I feel like you have a passion for inspiring people to produce good content and just sharing what they know. And I know for me, I was the benefactor, you know, 10 years ago when I, you know, my career got swallowed up of people who were sharing what they knew. And I feel like right now is like such an important time for people to to who know things, who feel stable in their career, to share a path forward um for people who might be considering a career change or or whatever. And so I'd like to just get your thoughts on that. Um, to, you know, this section being to all the content creators out there who are kind of like wondering, like, you know, what to do or aspiring content creators.

[00:46:47] Chris Biscardi: Yeah, I think that, um, especially in a downturn, uh, there's sort of no better investment than, uh, being very public about what you know and what you're learning and how you're doing it and things like that. Right. For my own perspective, uh, part of the thing that keeps the rest of my brain full with all the current events going on right now. So it puts out, like, pushes out the stuff that I really don't really want to think about right now.

[00:47:14] Michael Chan: Or things that you have no control over or little control over.

[00:47:17] Chris Biscardi: Things that I can't really do, uh, things that I can't really affect. Um, I'm like, I'm staying home, right? So like, stay the fuck home, hashtag. Like, I'm doing that and there's not a lot more that I can do in the grand scheme of things. Uh, so I'm filling my brain with sort of like problems that are big but solvable. So for example, I just created an Egghead collection over the last couple of days. Um, the first few days of doing that were extremely unproductive because of all this background sort of radiation, right? Uh, and then suddenly one day it clicked and I just recorded all of the videos basically. Um, I got one video done in a couple of days and then I got 9 done yesterday. And I think that that's uh important from both my perspective and like keeping my mentality uh in a place that is amenable to me doing my life. Um, but also in like, there are people out there uh who might have just lost their job, might have just been laid off, might be in a really hard spot. Um, and they might need to know something that I know to get a new job, right?

[00:48:23] Michael Chan: Mm-hmm.

[00:48:24] Chris Biscardi: And the more that I share openly and freely and stuff like that, Uh, especially when people are in hard scenarios, uh, the more I can help them without needing them to give me thousands of dollars, right? Because like, I can help people who have uh, like VC funding, right? That is not a problem. They have money, they can pay me.

[00:48:43] Michael Chan: Yep.

[00:48:44] Chris Biscardi: Uh, and I can use my years and years of expertise in particular areas to get things done for them and increase their next round raise millions and millions of dollars, right? Not a problem. But there's people who don't have that money. There's people who need uh resources and to learn things. And I think that it's really important to uh put that content out there. And that's why sort of like my Egghead videos have always been free. Even when you could lock them down, I made them all free all the time because I think that the people who can pay will pay um to support the things that they enjoy and find valuable. And the people who can't need access.

[00:49:19] Michael Chan: Yeah.

[00:49:20] Chris Biscardi: So

[00:49:21] Michael Chan: I love that. I love that. So, so Egghead is a, is a great platform for that. Where are some other, um, you know, I, I know that it's not, um, right now accessible to everyone who might want to create, uh, content for Egghead. Um, what are some like other platforms that would be good for people who are just getting started into content creation, um, that are fully open and they can kind of like get their content creation, uh, legs under them?

[00:49:45] Chris Biscardi: So you can do it on, uh, Twitter, YouTube, uh you can put it on Vimeo. Uh the big thing is to continue- you can do it on your own personal site, right?

[00:49:54] Michael Chan: Yeah.

[00:49:54] Chris Biscardi: So, like if you put videos on uh YouTube and you opt into their algorithm, you have to sort of ship a 10-minute video once a week for the rest of your life, right? I feel like it's important to call that out because you don't have to do that uh if you can build your own personal domain and your personal site and your Twitter following and whatnot, right? Like There are a lot of different platforms. There are a lot of different ways that the algorithm can affect you on each of these different platforms.

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

[00:50:22] Chris Biscardi: Um, the important thing is to find something that you enjoy doing or find interesting because you need to keep doing it and you need to keep doing it for the next like 3 years.

[00:50:29] Michael Chan: Yeah.

[00:50:30] Chris Biscardi: Right. And like, I just, I sort of just did the numbers uh like a couple of days ago and like you can do, um, if you do one a day, whatever it is, whatever length it is, uh you can hit 1,000 in 3 years. And my question post on Twitter was sort of like, what can that do? Like, what can you do in 1,000 posts? Right? Because 3 years is a manageable amount of time.

[00:50:50] Michael Chan: Yeah.

[00:50:50] Chris Biscardi: Like 10,000 is 30 years. That's not unthinkable, right? Like 100, you can do 100 in a year and that's a good start. Um, but what can you do with 300 and how do you think about that? And like, just, just start shipping it. Uh, it doesn't matter where you ship it, right? You can do it on Twitter. You can do video on Twitter. You can do tweets on Twitter. You can do these. Like the people who did Refactoring UI and whatnot. The reason that they have such large sales is because they did a whole year of dev tips and design tips on Twitter leading up to that, right? Like like that's like- I think that with um with creation of different types of content, the thing that a lot of people who are just starting out miss is that it's not about the particular piece of content. You're you're helping people and building a trust relationship with an incredibly large niche, right?

[00:51:40] Michael Chan: Yeah.

[00:51:41] Chris Biscardi: And at some point in the future, after you've solved all of these people's problems with all of the things that you've produced, you have a point at which there is an audience looking to you that trusts you. And you can say, I've solved all of your problems in the past for free. Here's a bunch of cool stuff. And now I have a paid thing that also solves more of your problems in a better way. Right. I've researched, I've listened to you for the last year or two. And here's the thing. This thing is useful. If you can buy it, buy it. If not, then you don't need to buy it. And or like, if you can't afford it, let me know and I'll give it to you. Right.

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

[00:52:17] Chris Biscardi: Um, and I think that that's the thing that most early, early stage creators uh miss is that the end point isn't I ship the blog post. The end point is I've developed a trust relationship from giving people actionable advice for years.

[00:52:31] Michael Chan: Yeah.

[00:52:32] Chris Biscardi: And now when I need to do something and make some money and try to do this for my living, I can because they trust me and I've produced enough good content to help them over a long period of time.

[00:52:43] Michael Chan: That's interesting. Like, I'm reminded of a couple of things, like where you were saying that, like, I know Joel talks about this. Um, he has a video that he likes to link to about being like a fiduciary.

[00:52:53] Chris Biscardi: Yeah, I remember that video.

[00:52:54] Michael Chan: Like, it's really good. We'll probably have to link it here. Um, but the uh The idea that you are working in trust, right? Like you're not really like a content creator. Like you are someone who is uh like delivering uh information in like some kind of like exchange of trust. And like that's the thing that you're really, really working toward. And then actually, it's funny that you mentioned um uh refactoring UI because I actually just this week had a call with uh Adam Wathan. And uh he was he was talking about how he sees that initial phase as like compressing a spring, right? And and the longer that you can go, like just kind of pushing this thing down and compressing and compressing it, like the bigger that that payoff's gonna be in the end. And it's like, it's hard, I think, because like, especially in a time like now, like people who are like thinking about like career changing or whatever, it's like you need to get up and running as fast as possible.

[00:53:52] Chris Biscardi: Yep.

[00:53:52] Michael Chan: And so like You know, you don't necessarily have the um the gift of of time, at least not in this season of it. But if you're in the content creation side of it, there's no better time than now to be giving giving things that you know away for free and building up that trust with um people who are um looking, you know, actively looking for it, maybe for the first time. I mean, we've been seeing some amazing uh numbers, like uh people like FreeCodeCamp, like sharing their numbers of how you know, in the last 2 weeks, how many more people are searching their resources than they were, you know, a month ago. And, and, you know, people are desperate for this content. And like, like, now is a really good time to just start putting it out, like whatever it takes to get like, you know, 5 paragraphs out on a topic, like a couple of times a week. Do it.

[00:54:41] Chris Biscardi: Yeah, I think that um Amy Hoy phrased this really, really well recently. And it's uh You want to be an investment in a downturn, not a cost. And things like freeCodeCamp are an investment, right? The content you put out and the writing and all the things that you teach are an investment for people. And that's where you want to be.

[00:54:59] Michael Chan: Yeah. I love it. Love it. Now, I know that you have a Discord server and I wanted to point people to that because I feel like this is like this is where you can like regularly get these nuggets and inspiration to like just to just do it. Um, so tell, uh, tell me about that. Tell people, um, you know, if they're looking for a swift kick in the pants, um, how do they get connected to you?

[00:55:25] Chris Biscardi: Uh, yeah. So in my Twitter profile, uh, @Chris Biscardi, you will find a link to a Discord server. And that Discord server is the one being talked about. It is the PartyCordy Network Discord server. Um, and in it we have a number of different channels. Uh, we have things that we are primarily focused on, like content creation and uh moving from like being an employee to selling your time for money to selling products for money, which are investments again, um all the way to like baking and cooking. Uh and we- Awesome. Over the course of sort of like the last week or two, we've been doing a lot of voice chat hangouts. So if this comes out and we are still in quarantine, uh we are probably still doing those voice chats. So if you are looking for uh people Even if you just want to hang out and hear other people's voices, you're welcome to come in.

[00:56:11] Michael Chan: Awesome. Awesome. I love that. Um, now we're we're out of time. And I want to respect that. But I'm gonna leave a little- like next time we hang out, I'm gonna ask you the origin of Party Corgi.

[00:56:23] Chris Biscardi: Sounds great.

[00:56:24] Michael Chan: Hey, thanks for your time today, Chris. I really appreciate you and uh your openness to to publicizing this this kind of private DM conversation that we were having. It's been a lot of fun.

[00:56:35] Chris Biscardi: Yeah, it's been amazing. Um, hopefully we'll do it again soon.

[00:56:39] Michael Chan: This has been episode 87 of React Podcast with Chris Biscardi. Find the people and projects mentioned in this episode at reactpodcast.com/87. Thanks to our sponsor, Infinite Red. If you're hopelessly stuck in a React or React Native project, tap Infinite Red for help. They'll teach you your way out of whatever whatever problems you face. Visit reactpodcast.infinite.red to start a new project today and get 2 tickets to Chain React Conf in 2021. 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 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 Spec, 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. again next week.