10: Codesandbox with Ives van Hoorne
Ives van Hoorne is the creator of CodeSandbox; an online code editor written completely in React. Although CodeSandbox is written in React, it can be used to build applications for any front-end framework.
Featuring
Links
Transcript
[00:00:06] Michael Jackson: This episode of the React Podcast is brought to you by reacttraining.com. In-person, hands-on training for development teams from React community leaders and experts. Visit reacttraining.com to learn more. Hello, everybody, and welcome back to another exciting episode of the React Podcast. I am your host, Michael Jackson. And today I have a very special guest with me, Mr. Yves van Hoorn.
[00:00:38] Ives van Hoorne: Heyo, it's super cool to be here. Thanks for having me on the show.
[00:00:41] Michael Jackson: Yeah, no worries. Thank you so much for coming onto the show. So people who are listening might know Yves from such uh famous Twitter accounts as twitter.com/compuyves or or github.com/compuyves. That's uh that's kind of your your handle that uh that he that he is known by online. And uh Ivis is best known for creating something called CodeSandbox. So even if you don't know the person, you've definitely heard of of this really cool product that he's built, uh codesandbox.io, which is uh essentially an online code editor. Uh but it does a lot of really cool things in in a lot of kind of uh cool, novel ways. But anyway, we'll get into to talking about uh CodeSandbox soon enough. I just wanted to start by asking Evas uh a little bit about your, you know, your background and maybe your education. It's my understanding that uh you are still attending university, but you're working on CodeSandbox full-time. Is that right?
[00:01:49] Ives van Hoorne: Yeah, that's true. When I finished high school, I immediately started working for a company called Katowice. Um, I built a portfolio and just applied there. And I worked there full-time for a year, but then I had to go to university. Katowice just said to me, "You have to go." So, I went. Yeah, and it's pretty cool that they did that, because most people that start working uh don't wanna stop working, and they just wanna continue what they do. But they actually forced me to go to university in a sense. Um, so, I learned a lot in that year about Ruby on Rails and later about React. And then I started going to university. And when I started university, that was, I think, 2 years, about 1.5 years ago, uh I started going to parties and doing student things and drinking beer, but I didn't build anything anymore. And that's when I started thinking, okay, let's let's do something again. Let's start being more productive. And that's when CodeSandbox came along.
[00:02:54] Michael Jackson: That's interesting that you had a, uh, you know, this idea to start being more productive when you were in the middle of partying and drinking with your friends. I'd say that's that's that's not a thought that usually crosses the minds of most 20-somethings when they're out uh partying with their friends. So what what could you give us a little bit more insight? What what what were you— was were you looking for, you know, a way to— I mean, Code CodeSandbox specifically is is an online editor, right? There are a lot of ways that you could have been a little bit more productive. So how did you settle on the idea idea for CodeSandbox specifically? How did you decide, oh, you know, I should make a code editor for the for the browser?
[00:03:32] Ives van Hoorne: Yeah, well, I didn't really think to build a code editor for the browser at the beginning. I thought much simpler. But I was um right before university, I was on a vacation to a city, a village called Sint Ives, and we went there because my name was in it. It's pretty interesting. Um and I was still working full-time for Catawiki then, and we were converting our Ruby on Rails pages to React. And I didn't have my MacBook with me, but part of the team, some people of the team, started asking questions about React specifically, or about the implementation of React in Ruby on Rails. And I didn't really have a way to answer them. I just had to, like, read their code, but had no way to evaluate the code. And that's when I started thinking that it would be really cool to have like a simple online editor in the browser that has support for npm and multiple files, so you can just get part of the application out there. And that's when the idea came along, but I never thought of building it. I just thought of making it very simple, just a component builder for React at the beginning. And as I started building a very basic editor with uh just a code editor on the left and a preview on the right and one file support, I started adding more and more during the lectures. And that was when it started getting a bit too big, and that's- and I started thinking, oh, maybe maybe we can actually release this. So that's what we did in April about a year ago.
[00:05:05] Michael Jackson: Awesome. So you started out, you said, with just a little file browser on the left, a little uh preview on the right- or a code editor, sorry, on the left, preview on the right. You said you you started with this idea of Um, you know, making it really easy to just include stuff from npm, which is an idea that you probably know is super interesting to me as well. Um, but it's not something that, you know, because uh just from my experience building Unpackage, but it's it's not something that I've found that a lot of the online code editors uh have typically done. You know, like it's um, it's uh, you know, npm only in in in just sort of the past recent couple of years has has really really started focusing on on front-end code, front-end client-side code. Um but that's something that, you know, for me, I guess, as a JavaScript developer, and for you obviously too, uh was something that was kind of obvious. And and I think it's something that the React ecosystem really nailed, right? Is they said, hey, look, we're just gonna publish React to npm. We don't have to solve this uh story of how are people going to get dependencies and how are people going to, you know, publish libraries, you know, React libraries, we're all just going to publish stuff to npm, you know. So it's cool to see that, uh, that you started with that idea, because I think that was a- I think that was a great idea. And it's something that, you know, the, the npm integration in CodeSandbox is something that I really think sets it apart from, from a lot of the other editors out there.
[00:06:35] Ives van Hoorne: Yeah, at the beginning I thought that it would be like impossible to have npm support, because if you like- if you look at an average average project, then Node modules can be like 700 megabytes, and then you have to put this in the browser, so it would take 700 megabytes of memory as well, and people would have to download 700 megabytes. So at the beginning, I dismissed the idea of having npm support and marked it as impossible. But then I saw some uh other editor, Webpack bin, and saw that they actually had npm support And I started getting more interested in the idea of npm support, so I started building a basic implementation, and it's actually possible. And now we have had 4 different implementations of npm support because it's pretty hard to build, but nowadays it's working. The the trick is that a Node module, like an npm library, has like a lot of files, but they only use a small amount of the files. So at the beginning, we just go through the files, the whole dependency graph, and only include the files that are actually used in the dependency. And then you can get like less size.
[00:07:52] Michael Jackson: I noticed that a couple of uh a couple of months ago, it seems like maybe 2 or 3 months ago, you had a live screencast where you were actually building an in-browser npm client, I guess we could say, or or or module loader. Could uh could you tell us a little bit about that? Because you said it's a difficult problem, but you sat down and and you coded the whole thing in maybe, I don't know, what, 30 or 45 minutes?
[00:08:18] Ives van Hoorne: Yeah, that's pretty interesting. Like, what I was building is what you could call like webpack, but then in the browser. It was super simple. So, the goal was that you could write code with multiple files, and that it would just execute the code. So, if you had, for example, 5 different files, then give it to that bundler that's in the browser, and then it would execute those 5 files. It would check all require statements, it would transpile all code. And that part, when you figure it out, is actually pretty simple, because- Mm-hmm. When you transpile code, you can- you get require functions, and you would just stop the require functions and get the new code without those require functions. So, that part of the bundler was- it's very basic and it's very simple to build. That's why I encourage everyone to try it because it's a lot of fun to build something like that. But when you have npm dependencies, then you suddenly include like thousands of different new files. And bringing this to the browser in an efficient way was quite challenging.
[00:09:22] Michael Jackson: Interesting. Because this is something that I've actually- and I think you and I have actually kind of kind of hinted at this discussion at least a few That's something that I would like to actually build for Unpackage. And and I'm actually just curious from the perspective of uh of Unpackage, is this something that— so you know, how do you make that efficient, I guess, loading uh loading a bunch of files from from npm? Or or what were what were some of the challenges that you found in uh in getting that to work uh properly?
[00:09:54] Ives van Hoorne: What we have is kind of an algorithm. It's not really an algorithm, but We have some logic in uh in a serverless function that determines which files gets added. So, first, it checks the main module, the entry point of the dependency, and then it parses the all the require statements, and it includes includes the files that are required by that file. And it does this recursively. So, it includes all the files that are used by the main entry point. And after that, it does a second round. It checks for more files that could maybe be added. Since we have ES modules, there are like maybe multiple entry points, so we also check for those. And we have some extra logic that removes, for example, test files. We we check the file name for, is is this a test file, or we remove UMD files because we bundle them ourselves. And it's not perfect. We don't it's not that we always get the perfect dependency graph, but when a file is missing in the browser, we actually download it dynamically from Unpackage.
[00:11:02] Michael Jackson: Oh, no way.
[00:11:03] Ives van Hoorne: Yeah, yeah, yeah, it's uh we're using Unpackage quite for a lot of things, especially the meta feature. That one is very important because when we are missing a file, then we need— uh the meta feature is, by the way, something from Unpackage where you get the list of directories and files that are inside a dependency. And we need this list to resolve. Um, for example, if you resolve a file from a dependency, then we need this list to actually know which file is being resolved, because Node has a bit of an advanced system in resolving how files are resolved.
[00:11:36] Michael Jackson: The uh that meta feature is super handy, and and in particular, figuring out all of the nuances in how Node resolves things, especially like based on the package.json. Now there are like, there's like main and there's module and there's js-next/main and uh there are there are a lot a lot of things in there. So anyway, that's that's cool. So our work is overlapped in in some areas. That's really awesome. Um, all right, so I I I you know, this is a React podcast, gosh darn it. So let's talk about some let's talk about some React. I have a tendency to like talk about all this stuff that isn't actually React on this podcast. I need to- I need to figure out- hopefully it's still interesting to people who are who are still interested in React. So um so okay, so so CodeSandbox, so you've got this really cool way to uh include npm modules. Uh you're resolving them uh sort of dynamically in the browser, using unpackaged to uh fetch the files that are missing. Um and uh and so, you know, you've you've built this thing, and uh from what I can see, it's going pretty well. It seems like you guys are getting quite a bit of traffic at CodeSandbox these days.
[00:12:42] Ives van Hoorne: Yeah, absolutely. It's uh been crazy the past few months. In the past 3 months, we've had 25% growth in unique visitors each month. And right now we have about 480,000 uh unique visitors each month.
[00:12:59] Michael Jackson: Oh, wow, that's insane. Uh where are you hosting CodeSandbox? You said it's- did you say it's a serverless architecture? Are you hosting it- are you hosted on AWS?
[00:13:08] Ives van Hoorne: Part of it is. It is serverless, like the npm functionality is all serverless, but we're now hosting everything on Google Cloud Platform in a Kubernetes cluster. Um, about 2 months ago, we were still on a $40 VPS somewhere in Amsterdam, but as our traffic grew, we decided to move to Kubernetes, and um, it has helped. It's just that we get a lot of API requests and requests for uh static data, but we have a CDN. So the servers are not very strained because everything is executed in the browser.
[00:13:41] Michael Jackson: And so you can and you can cache a lot of that stuff pretty heavily.
[00:13:45] Ives van Hoorne: Oh yeah, we use heavy caches.
[00:13:46] Michael Jackson: Okay, so uh so you made the jump to um Kubernetes into Google Cloud. I remember there was you were on Twitter when you were doing that, and 'cause I was saying, oh, I need to jump. So little little secret about Unpackage is that the origin servers for Unpackage are actually still running on Heroku. Ah! I know. Um. I'm gonna fix that. I'm gonna change that very, very soon. So we're actually we're actually moving to Google Cloud Platform as well. But I mean, that's I guess that's how you launch and like get something out there, right? You launch, you get it out there, and then it's proven that, oh, it works. So we should probably— um and in our case, we can cache so much stuff that like or it doesn't really matter what our origin server is is doing. So but you you were describing an issue. I can't remember exactly what it was though. It seemed like you were getting you were getting DDoSed a while back. Oh yeah, yeah. Was the was the CDN able to help you with that?
[00:14:43] Ives van Hoorne: In the end, the CDN was able to help us. We're using Cloudflare. We were suddenly getting DDoS attacks on our API endpoints, and we weren't able to trace the DDoS attacks. And it was pretty crazy. It's like, um, I think we got- I'm not sure how many requests, but we got I think 20,000 in a minute or something. I'm not sure if that's— uh but we enabled rate limiting, and we also optimized the server because the server actually sent out- when we got a 404, it sent out this report to Sentry, which took a lot of strain on the server, and it's really stupid. But when we removed it, our server went down to like 20% CPU usage or something, or 10%. And with rate limiting, we fixed it, but it was super frustrating because um it was in the middle of the night. It the DDoS started at 2 AM, and luckily I was awake, but I wasn't able to sleep till like 5 or 6 AM because I wasn't sure if another DDoS attack would happen. It was in bursts, so the first one was on the first day, and then 2 days later they start started DDoSing again. Yeah, it's super frustrating when they do that, and I think they do it for fun or something.
[00:16:00] Michael Jackson: Well, so, but that was, uh, I'm sure for you, a huge learning and growing experience, right? I mean, if you're gonna have- it seems like if you're gonna build anything big on, on the web today, you're gonna have to deal with this eventually, sooner or later.
[00:16:16] Ives van Hoorne: Yeah, when we- when I was building for KettleWiki, it was It's far less prone to attacks, I think. When you when you build something when you build something on an auction website, you still have many different sites on which you can be attacked, but on CodeSandbox, you have so many ways for people to input code and fork, and I think it's it's a tricky thing to build code on. And at the beginning, I I didn't really want to release CodeSandbox with the fear that things like this would happen.
[00:16:49] Michael Jackson: I think what you just said is it's a tricky thing to build CodeSandbox, I think, is the understatement of the uh of the day. Because when I look at CodeSandbox, I'm like, whoa.
[00:17:02] Ives van Hoorne: Oh, well.
[00:17:04] Michael Jackson: I would say it's a very, very tricky thing to launch a website like that.
[00:17:07] Ives van Hoorne: Yeah, the trick is it's like, it's super- at the beginning when CodeSandbox was released, it was super simple and I never intended to build CodeSandbox. And even if I would get the assignment today to build a CodeSandbox, I would just not build it. But because it's so simple, and because I was really pragmatic, and in some way, I cut off edges, so I built something as fast as possible. And CodeSandbox, the client, for example, released without tests when we deployed it at first. Because I just wanted to make a very simple prototype, an MVP, and just put it out there and see what people thought of it. And only after that we started rewriting things to make it more robust. And still now we have some rough edges, but we rewrite things all the time because we just first release it very simple, simple, and then if it's interesting, we start building and advanced on it.
[00:18:03] Michael Jackson: I think there's a lot to learn there about just building and launching a software product in general, right? Just don't try and plan too much at the beginning. Just build something and um and get it out there as quickly as you can. And if people use it, like if it really is useful, people will use it. And and then if they do, then then you're sort of forced to work on it, right? Because oh, it's it's useful. Like I can see that people like this. I should probably take this further, you know?
[00:18:33] Ives van Hoorne: Yeah, you know, it's in February, I actually stopped working on CodeSandbox. stopped getting interested in it. And because I was working on it every day, it didn't really look that impressive to me. It started to look like a project that I've- a hobby project that I've had. Only when I started showing it to students a couple months later, they were very impressed, and I thought, oh, maybe I'm actually onto something. And I gave myself one week to just finish everything off, uh finish everything, and if there were features unfinished, then I would just remove those features. And then I deployed CodeSandbox and it was actually much more uh used than I expected. And it was super cool. I was I was living on these highs of people using CodeSandbox and it was popular on Reddit and I was very happy.
[00:19:18] Michael Jackson: So uh so you decided to build CodeSandbox in React. Um had you used anything, like any sort of web frameworks prior? Because I know you were, you know, as you said, as we've already said, you were a student when you started to build CodeSandbox. Did you did you have any other experience in any other kind of web frameworks, or was there a reason that you chose React, or was it just kind of like the first thing that you that you came to?
[00:19:43] Ives van Hoorne: At CatoWiki, we started moving stuff to React, and that was mostly because my boss, the CTO of CatoWiki, he said to me- I was super interested in Angular, and he said to me, "Oh, you should take a look at React." So I used my whole summer vacation to learn like React and all these different Flux libraries because they were were like 8 of them at the time.
[00:20:06] Michael Jackson: Oh, yes.
[00:20:09] Ives van Hoorne: Those times.
[00:20:10] Michael Jackson: The Flux Wars.
[00:20:12] Ives van Hoorne: Yeah, the Flux Wars. And it was, um, I was get- I was I was becoming the React fanboy actually at work. I was called the React fanboy, which is not a very good title to have, I guess. But um, I was getting more advanced at React, and I thought code sandbox should be built in React. That's the most the most complicated part should be built in something that I know, and the other parts of CodeSandbox are built in languages that I didn't know at the time. It was kind of my learning project for me.
[00:20:39] Michael Jackson: Is a lot of the backend JavaScript? Is it Node or or something else?
[00:20:43] Ives van Hoorne: That's interesting. The backend is in Elixir and Phoenix. So, that was my learning project part. I had to rewrite it 3 times because at the beginning, I didn't get the concept of functional programming. So, I started- I I think I did a really bad job at the beginning with the server, but now now it's pretty okay, I guess.
[00:21:03] Michael Jackson: That sounds awesome. I uh Elixir is something that I've been meaning to take a closer look at for a while now. I've got quite a few friends who do it. So you you enjoy it?
[00:21:13] Ives van Hoorne: Yeah, it's um very clean. That's the cool thing. Once you use the concepts, it's super clean when you write a nice implementation and It's also Elixir is perfect when you receive many messages at the same time. It's for example, we have CodeSandbox's uh live feature, which is that you can do live coding at the same time and see it live updating, like Google Docs. And that one would be very straining for a lot of servers, but our Elixir server handles it very well. It can handle multiple live sessions with we tested it with like 50 people at the same time and it didn't really strain. So that's very cool.
[00:21:54] Michael Jackson: I I I need to look further into that. I need to look further into some Elixir stuff. That sounds really, really cool. Um, so so let's talk a little bit about, uh, you know, is there anything that you kind of, you know, learned about React? I mean, 'cause it's one thing to use React, uh, you know, on a small project, but CodeSandbox is a fairly large project. Is there anything that you kind of uh learned along the way that maybe you didn't anticipate? Something that surprised you? Um something that you that you learned or or a technique that you played with and you thought, oh wow, that's, you know, that's I'm I'm so glad I built this in React because if I wasn't building it in React, this feature, you know, I would have had to do it differently. Is there anything like that that you could share with us?
[00:22:39] Ives van Hoorne: So when I built the biggest part of the application, I had never used code splitting before.
[00:22:45] Michael Jackson: Oh.
[00:22:47] Ives van Hoorne: Yeah, that's that's a big one. And we now make heavy use of it, like, all the transpilers and uh um extra logic, like Prettify, is all code splitted away. But before that, I didn't really know it. And especially the interesting part is um code splitting on routes. That was something that we that I have never done before. And I always had the question, if you are building a big web application, Wouldn't it get too big when you get, like, the whole application at the beginning for the user? And then code splitting came along with uh code splitting based on routes, and I learned a lot about that part of the React uh ecosystem. And that was also- React fit very well with the code splitting part, that you could just load a component like it's a network request, and then start rendering it, and that's really cool.
[00:23:39] Michael Jackson: Yeah, that was one of the biggest uh things that we were thinking about when if with the design of React Router 4, when we when we made the routes a component, it was like, look, code splitting a React Router app is identical to code splitting any other React app, because React Router is just components. So if you can if you can code split other components, you know, an app built in regular components, then you can code split a React Router app.
[00:24:03] Ives van Hoorne: Yeah, and that's really smart.
[00:24:04] Michael Jackson: Yeah, that was one thing that uh I I'll never forget when Dan Abramov showed up on the issue tracker and he's like, how can I code split? Or no, his was hot reloading. I forget who showed up and it was asking about code splitting, but it was kind of like, oh, code splitting. Uh, I'm not sure how to- I'm not sure how to do that. Well, cool. So, um, so let's talk a little bit maybe about the future, you know, I mean, CodeSandbox is taking off. It's it's obviously one of the most popular, um, you know, React apps out there that I think, and and the whole thing is open source, isn't it?
[00:24:37] Ives van Hoorne: Yeah, except for the server. The server is still closed source because we wanted to keep options open when we release CodeSandbox.
[00:24:44] Michael Jackson: Yeah, yeah. Well, and it's good too to uh stop people from uh trying to hack your server too. What's going on there? Um, so, so, okay. So, so CodeSandbox, uh the client is completely open source, probably one of the largest, most popular, uh you know, React products that's out there for the community. Uh where is it going from here? I mean, it seems like the type of thing that could that could really have some legs if you wanted to, you know, turn it into a business. Right now you offer everything completely free, right?
[00:25:13] Ives van Hoorne: Oh, no, we have some we have some uh premium part of CodeSandbox. It's called CodeSandbox Patron. And if you become a CodeSandbox Patron, which is uh paying $5 a month or more if you'd like in a kind of donation way, then you can create private sandboxes and others cannot see private sandboxes of yours, or unlisted ones. And you can use the CodeSandbox Live feature, uh so you can have the Google Docs collaboration uh using that. And you also get more static file hosting storage, and you can create more than 50 sandboxes. But we kind of- I'm still thinking of this, because I think it would make more sense to let the companies pay for uh CodeSandbox instead of the developers. So, for the past few months, especially since we had CodeSandbox Live, there are a lot of companies that want to use CodeSandbox with organizations and with teams. And we're trying to find a way to move the model to letting companies pay that they can get a, uh, for example, a license, and then they can have, like, for example, 8 people on the license. And then they get an organization, and people can, all the sandboxes of the organization are editable by all people in that organization, and they get live editing automatically.
[00:26:32] Michael Jackson: I think that I think that's incredibly smart. That would be really, really popular. That one one thing I've learned is uh you know in sales is uh if you can sell to a company, you know it's it's gonna be a little bit easier than than talking to an individual and saying, hey, you know, we'd like you to pay for something. But lots of times companies, they have budgets, they're like, sure, just throw it into the budget. Yeah. It's something I've learned about sales in general is just like think about think about who uh you know who who is like what what budget is this coming from? You know who is the person who has to say yes or no based on on the sales proposition? And if if it's an individual, it's it's gonna be like very much an individual decision. But if it's uh if it's a company or if it's like a group within a company and they've already got budget for it, it's a lot easier.
[00:27:18] Ives van Hoorne: That's interesting.
[00:27:19] Michael Jackson: But anyway, I think that's a I think that's a very smart model that you're uh that you're considering there. And best of luck uh best of luck with that.
[00:27:26] Ives van Hoorne: And it's also with the taxes, we now have to do all the taxes for the people and it's so much work.
[00:27:32] Michael Jackson: Taxes, oh geez. Isn't there somewhere you can host it where you don't have to pay taxes? Maybe you could like go to, I know that in Washington, in the state of Washington here in the United States, they don't pay income tax. Maybe you could just move everything there.
[00:27:44] Ives van Hoorne: Oh, interesting.
[00:27:46] Michael Jackson: No, I'm just kidding. There's no place. You you maybe, I don't know, maybe Antarctica, they don't pay taxes. Maybe you could set up some servers there.
[00:27:53] Ives van Hoorne: We can maybe move there.
[00:27:55] Michael Jackson: Yeah, that's right. You've gotta you've gotta do all that like official business stuff. You have to you have to make it official. Right. You're like, I just wanted to write code and what what taxes? Okay, fine.
[00:28:07] Ives van Hoorne: Yeah, actually that's the thing. Now that CodeSandbox is so much more popular, there I'm getting so many different emails not from people that are using CodeSandbox with questions, but also from companies that want to set up a meeting And nowadays I have so many meetings on a day that I sometimes it's a bit frustrating that I'm not able to code anymore.
[00:28:27] Michael Jackson: Yeah, that's that's that's the struggle of, I feel like, in our in our industry, like the the successful entrepreneur engineer, like sooner or later they don't have time to write code anymore, which is why they got into it for the in the first place, you know? I just saw I just saw a tweet from uh one of my friends, Spike Brem, who uh is an uh engineer at Airbnb for a long time. He said something like, yeah, you know, I'm I'm it was it was something similar, like, I don't really get to be in my editor very much anymore. Which I was kind of like, oh yeah, I've you know, I've felt that too in my in my company as well. Like a lot of a lot of the work that I do these days is like email and meetings and stuff. And but it always feels good to get back into the editor because it's like, you have like a finite problem space and you've got your tools and it's like, I'm just gonna go to work and I'm gonna solve this thing. And there aren't so many like variables or unknowns or things out of your control, you know. Like, you can either fix it or or you might need to learn something before you can fix it, but you can usually get there, you know what I'm saying?
[00:29:33] Ives van Hoorne: Exactly.
[00:29:34] Michael Jackson: It's not like this weird thing where like, oh, I'm sending an email and maybe this person will like it and maybe they won't, and maybe this deal will go through, maybe it won't, or I have to convince this other person of something. I don't know. It feels like it's more under your control when you're when you're writing code.
[00:29:49] Ives van Hoorne: Yeah, it's like throwing yourself at the code. That's so nice. But you only get to do that if you have if you can block out 4 hours to code, then you can get in the zone.
[00:29:58] Michael Jackson: Exactly, exactly. My uh you know what's funny about that? You say 4 hours. My I got my wife a watch yesterday for Mother's Day, and it like beeps at her if she hasn't if she hasn't gotten up and walked around for like 35 minutes or 40 minutes. Oh no! And I and I was like, a developer would hate a watch like that because I'm like just getting into it after 30 minutes and then this thing is like beeping at me and telling me to go stand up and walk around outside. Like I need at least a couple more hours. Give me a break. Well, cool. Well, that that is very exciting to hear, uh you know, just how well CodeSandbox is going for you. Um, you know, just everything that, uh, everything that you've shared with us today, I think is, is super awesome. I just have one last question, and it is, uh, the same question that I ask to most people who come onto this show. But if there is anybody or any library that you want to kind of give a shout out to, any person, uh, in the ecosystem that you think maybe we should be having on this show, something that you think other people maybe don't know about, but it's really cool and you'd like to bring attention to it? Anything like that?
[00:31:11] Ives van Hoorne: Yeah, okay. So, when I started building Code- when we deployed CodeSandbox, I met up with Christian Alfoni, and he's the author of Cerebral and of Webpack Bin. We started working together, and he's now one of the biggest contributors to CodeSandbox because he rewrote our whole state management from Redux to Cerebral in combination with MobX. And it's so much better because, well, it's it's also partly my fault because I set up Redux in a very inefficient way for CodeSandbox. But we now have, when you, for example, have one property changing, only the components that use that property update. And it does that for free. There is no configuration at all. And that's super cool. So I would like to give a shout out to Christina Alfoni and Cerebral.
[00:32:02] Michael Jackson: Yeah, I saw the Cerebral project. Yeah, it kind of felt like an, you know, an alternative obviously to to Redux, but it reminded me, did you ever hear about a thing called Cortex a long time ago?
[00:32:13] Ives van Hoorne: No.
[00:32:14] Michael Jackson: There was, yeah, there's something called Cortex. Anyway, in English, Cerebral and Cortex. Well, I don't know, maybe they don't have the same. Maybe they don't have this. They both have something to do with your brain, right? And uh. But anyway, they uh they uh anyway, his library kind of reminded me of that, but it was it was kind of a central kind of like, this is the brain for your app. But anyway, I gotta I gotta I gotta check out Cerebral uh a little bit a little bit more, and maybe I'll ping Christian and we'll see if he wants to come on the show and talk to us about it. I think that would be really cool. All right, well, Hayes, thank you so much again for uh coming on the show. I'm definitely gonna have to uh have to look into a couple of these things you've been talking to me about. Um, I actually, I've been creating a little to-do list over here, which basically is like, do everything on Unpackage that Evas has been doing with CodeSandbox.
[00:33:03] Ives van Hoorne: Well, I can help with that.
[00:33:04] Michael Jackson: Hey, let's, let's definitely do it. Let's definitely get together and do it, because I, I, I would love it. I'm currently like just so stoked on, uh, on everything that you're doing. So thanks again for coming on to the show.
[00:33:16] Ives van Hoorne: Yep, thank you.
[00:33:17] Michael Jackson: And, uh, Yeah, no worries. We will see you again. Uh, I'm, I, you know, we'll see you again soon. And thank you for listening to the podcast. Uh, we'll see you again next week.
chantastic.fm