chantastic.fm

16: The Good, Bad, and Ugly of Open Source with Ken Wheeler

Episode 16 · August 14, 2018 · 00:51:38

Hosted by Michael Jackson and chantastic · With Ken Wheeler

Download MP3 · Jump to transcript

Michael and Michael talk with Ken about the good, bad, and ugly of open source. Ken shares the pain and frustration he's felt as an open source developer and what keeps him coming back for more as the Director of Open Source at Formidable Labs. They talk GraphQL, Reason, React, and the best tweet Ken ever tweeted...

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. Hey everybody, welcome back to the React Podcast. I am your host, Michael Jackson. I'm here with my co-host, Michael Chan.

[00:00:32] Michael Chan: Hello again.

[00:00:34] Michael Jackson: And we have a very special guest today, Mr. Ken Wheeler.

[00:00:38] Ken Wheeler: What up, what up?

[00:00:40] Michael Jackson: I, I, I, uh, I gave Ken very specific instructions to tell you all how delighted he was to be here, etc. But, uh-

[00:00:49] Ken Wheeler: I just couldn't make it happen.

[00:00:50] Michael Chan: He forgot. Too much.

[00:00:53] Ken Wheeler: I got intimidated. You guys have such incredible radio voices.

[00:00:56] Michael Jackson: You know, you freeze up. We're actually rolling. I get it. You get nervous. It's fine. It's fine.

[00:01:01] Ken Wheeler: Yeah, it's just my defense mechanism. What up?

[00:01:03] Michael Jackson: All right. So Ken, in case you are not familiar with Ken, has done a ton of work in React, a lot of work even before React. Um, I met Ken probably, I'm trying to think, maybe like, oh, I don't know, probably 2 or 3 years ago. I think we met at one of the React comps.

[00:01:25] Ken Wheeler: I think it was React Conf 2.

[00:01:26] Michael Chan: Was that the one that you spoke at? You did a lightning talk?

[00:01:29] Ken Wheeler: Yeah.

[00:01:30] Michael Chan: Yeah, yeah, yeah. It was like the second or third one.

[00:01:32] Michael Jackson: Yeah.

[00:01:33] Ken Wheeler: I did. I gave a lightning talk at the second as well as the third one, but it was the second one.

[00:01:38] Michael Chan: Yeah, yeah, yeah. About React Native or whatever. And you were like super nervous back then.

[00:01:42] Ken Wheeler: Oh my God. Holy- oh dude, I was shitting my pants. That was the scariest time. That was my first talk and my first conference.

[00:01:48] Michael Chan: Well, I mean, how many have you done now? You've done like what, like 100?

[00:01:51] Ken Wheeler: Several. Yeah, quite a few. Um, now I I give zero fucks. I just get up there. But you know, at the time it was like React Conf, like React Conf is so official. You know, I I had like spoken at like a meetup, right? And you know, like, you know, you just go up there and like put your laptop up and they don't even give you a microphone. React Conf, there's like some lady with a clipboard and like they have you with like like a like a ShanWow microphone and she's sitting there counting me down. She's like, all right, 3, 2, 1. One, go, and you walk out and there's like bright lights. I'm like, what the fuck is this?

[00:02:21] Michael Jackson: Smile, smile. What's wrong with you? Walk faster.

[00:02:23] Michael Chan: That conference definitely is the most official, like timeline-wise. I mean, from the very beginning, it's always been like, nah, it's time to get off the stage, go.

[00:02:30] Ken Wheeler: Yeah, it's like fucking going on Maury or some shit. It was- I was like, what the fuck?

[00:02:37] Michael Jackson: No, this is this is interesting 'cause you know, recently I've actually, I haven't actually done any uh conferences in like the last year. I think since I was up at React Rally last year, but I've done a ton of meetups. I spoke at the React uh Chicago meetup, Boston, uh New York last fall. And I just love speaking at meetups, dude.

[00:02:59] Michael Chan: Oh, meetups are the best.

[00:03:00] Michael Jackson: I just love the vibe. You know, you just get up there and you know, people are like gnawing on pizza crust and like, you know, just having a drink or whatever. And everybody's just real relaxed and chill and and you get feedback from the audience, you know, something something that is that you don't get a lot in conferences is, you know, if you make a mistake or something, you know, there's just dead silence. But if I'm in a meetup and I make a mistake, somebody's like, oh, hey, you forgot your semicolon on line 74. And I'm like, oh, thank you, man. I appreciate that. You know, it's it just feels like there's a little bit more of a kind of live atmosphere. It seems to me like we were talking about this a while back on Twitter, Ken, weren't weren't you involved in that little conversation a little bit?

[00:03:39] Ken Wheeler: But yeah, I definitely share the sentiment. I think it's cool at meetups where you can meet every single person. At a conference, like you don't get to meet every single person. You know what I mean? I mean, you could, you try, but that'd be weird. Um, so it's like, you know, at a meetup, like you're just there and you can see every single person, whereas like some conferences, you know, it's just a sea of of folk.

[00:04:02] Michael Chan: So that's interesting. What's, what's one of your tricks then for trying to meet as many people as you can at a conference?

[00:04:08] Ken Wheeler: Oh, I just go stand around. I just go stand places like, uh-

[00:04:13] Michael Jackson: People aren't intimidated by you? Like, "Oh crap, that's Ken Wheeler."

[00:04:16] Ken Wheeler: No, no, no, no, no. I mean, you know, if I was like an intellectual or, you know, something like that, you know, perhaps. So, you know, if I took myself very seriously. Um, but, you know, I I I carry myself like a fucking idiot, so I think that, you know, most people, you know, they're like, "Hey, hey, this guy!" I'm like, "What's up, buddy? What's going on?"

[00:04:35] Michael Chan: It is true. You do have a very, uh, what is it, approachable persona online. I mean, like the sheer number of people who tweet at you every time they barbecue, I mean, myself included. I like, I can't even stop myself from doing it, even though I find it laughable sometimes, is amazing. I saw the salmon today. It looked beautiful.

[00:04:54] Ken Wheeler: Oh man. Oh, with the nuts from the garden. Oh, what a what a salmon.

[00:04:59] Michael Jackson: Even though I am, yeah, I I feel the same way as you, Michael Chan, even though I am highly offended by the foul language that spews from this man's mouth. I cannot I cannot keep myself from faving his tweets and interacting with him. All the time. All the time on Twitter. It's just like constantly. He's he's he's got a great Twitter presence.

[00:05:18] Michael Chan: Yeah. It's

[00:05:19] Ken Wheeler: good. We like to have fun.

[00:05:20] Michael Jackson: I was just teasing you there, by the way. You um for for those of you who don't know, Ken was like, he was he was hitting on me pretty hard yesterday about my name being Michael Jackson, so.

[00:05:31] Michael Chan: Oh.

[00:05:32] Michael Jackson: Just had to just had to just had to get some get some rubs back in there.

[00:05:35] Ken Wheeler: Dude, that might've been the funniest shit I've ever written in my entire life. I wish-

[00:05:41] Michael Jackson: You've been hit by a set interval.

[00:05:44] Michael Chan: Dude, I unstarted that just so I could start it again.

[00:05:50] Ken Wheeler: Man, I was real proud of that. That was like probably the highlight of my day.

[00:05:53] Michael Jackson: It was so good.

[00:05:54] Michael Chan: Did you- okay, did that come right to you or were you like going through Michael Jackson songs?

[00:05:59] Ken Wheeler: No, no, that was, that was like immediate. That, that, that's how that works, you know? Like if I think about something It never works out, but you know, sometimes it was just click and-

[00:06:09] Michael Chan: It was so beautiful. It was- I was so glad to have been there.

[00:06:13] Michael Jackson: I was glad to have been there too. All right, Ken, now, now, before that, before I met you a couple of years back at this conference, which got us off on this tangent, what were you doing? Because right now you are the director of open source at Formidable. Obviously Formidable does a ton of stuff with React. Uh, he's done a lot with React Native. Tell us how you got into that role at, uh, into your current role as the director of open source at Formidable.

[00:06:37] Ken Wheeler: Yeah, so, um, I was working on, uh, so I've worked on retail, right? Not like, like, like working at the Gap, but like retail e-commerce for, uh-

[00:06:49] Michael Jackson: Point of sale systems.

[00:06:50] Ken Wheeler: Yeah, yeah, yeah. For, for, you know, like a decade. Like that's, that's pretty much all I do. That's, that's the entire, you know, I've never worked on like a product or at a startup or anything. It's always been some kind of retail. Um, so at the time I was working at this company where, uh, we were building websites for like New York fashion companies, which is probably a side effect of, uh, you know, just the the region, right? Because if you're not in fintech, you know, you're doing like, you know, fashion e-com. So I'm sitting there making the websites for like, like Marc Jacobs and Tom Ford and stuff like that.

[00:07:24] Michael Jackson: Oh, wow.

[00:07:25] Ken Wheeler: Um, on this platform. Uh called Demandware, which was which was funny. It was like, uh you know, it's it's web development, but it was like you write uh everything in JavaScript. They had like this like thing called uh Demandware Script, which is like an ECMAScript variant, like server-side ECMAScript. And then, you know, there's like a visual, like you built your uh your APIs like with like these, like a visual programming thing.

[00:07:46] Michael Jackson: Uh-huh.

[00:07:47] Ken Wheeler: It was bananas. Um, but yeah, I was doing that for for work. Pretty much. Um.

[00:07:53] Michael Jackson: I've never even heard of this.

[00:07:55] Ken Wheeler: Yeah.

[00:07:56] Michael Jackson: It sounds kind of like a- it sounds like an ActionScript type thing.

[00:08:00] Ken Wheeler: No, I mean, it's, it's like a, uh, like a proprietary e-commerce platform kind of thing. Like, have you ever heard of like ATG Commerce?

[00:08:06] Michael Jackson: No, dude. This is a completely separate world.

[00:08:09] Michael Chan: Yeah, that's wild. Is it, is it kind of like Framer? In the way that there's

[00:08:13] Ken Wheeler: like a- you know, like Magento?

[00:08:15] Michael Jackson: Yes. Yeah.

[00:08:16] Ken Wheeler: Imagine like Magento if you had millions of dollars.

[00:08:19] Michael Jackson: Ah.

[00:08:20] Ken Wheeler: It was like that sort of thing.

[00:08:22] Michael Chan: No, no, but the like the like drag and drop uh programming thing, is it kind of like the like the way that Framer does it? I'm not too familiar with it. I haven't really messed with Framer.

[00:08:32] Ken Wheeler: It's like, um, you know, if you were to build like a flowchart type thing.

[00:08:36] Michael Chan: Okay.

[00:08:36] Ken Wheeler: Remember like Visual Basic?

[00:08:38] Michael Chan: Yeah.

[00:08:39] Ken Wheeler: You know how you'd like put stuff on the screen and then click it and you'd have like a little side menu that would have like all like the properties of that thing?

[00:08:45] Michael Chan: Okay.

[00:08:45] Ken Wheeler: It was kind of like that, but it was like a node and like line to node type thing.

[00:08:49] Michael Chan: That is so wild.

[00:08:51] Ken Wheeler: Like you'd have like your start node and your end node and your end node could be like, uh, like a template. So you'd have like JSON or you'd have like a uh HTML template, but in the, in the uh interim, right, you could do things like put data into scope with these different, uh, like uh script nodes that would go out and, you know, make a call for data or some shit like that. So it would like build up like your, your data scope, which then got passed to your template. Um, it was actually pretty fucking wild now that I think about that in retrospect. At the time it was like a pain in the ass. I'm like, what is this? You know, I just wanted to do like Node work.

[00:09:24] Michael Jackson: Well, and then you started, you started dabbling in the JavaScript stuff on the side, right? Which is, or like, I mean, you're always doing JavaScript on the front end, I guess.

[00:09:33] Ken Wheeler: Well, yeah, it was, it was full stacky. So it was like, most of what I did was, was being the front end person. Um, and when you're making fashion websites, Um, the extent of your JavaScript is styled dropdown menus and carousel. Um, so what at one point, right, I was actually writing a new carousel from scratch for each website.

[00:09:58] Michael Chan: Ooh.

[00:10:00] Ken Wheeler: Yeah, because you know, it was just, it was like, you know, you had like Flexslider and um, I guess there were some of the other ones out at the time.

[00:10:07] Michael Jackson: Dude, you might have, you might have heard of something that I wrote back in the day. Did you ever, did you ever come across something called Shadowbox?

[00:10:14] Ken Wheeler: Yeah. You wrote that shit?

[00:10:15] Michael Jackson: Yeah, dude.

[00:10:17] Ken Wheeler: Get the heck out of town. That's fucking hilarious.

[00:10:19] Michael Jackson: That was my-

[00:10:19] Ken Wheeler: You wrote Shadowbox?

[00:10:21] Michael Jackson: Yeah, dude. That was 2008, man.

[00:10:24] Ken Wheeler: Wow. Yeah, no, no, I used to use that shit all the time.

[00:10:26] Michael Jackson: That's funny, dude.

[00:10:28] Ken Wheeler: That was like the modals and the images, right?

[00:10:30] Michael Jackson: Yep. That was the that was the very first time I ever saw a lightbox was, um, it was called Lightbox. Uh, what was the guy's name that did it? But anyway, he made the Lightbox and you could basically just put images in it. And so what I wanted to do was I wanted to be able to lightbox anything. So I made Shadowbox because I was like, it'll be like the dark counterpart of the Lightbox. And then you can put like fricking SWFs in there.

[00:10:56] Ken Wheeler: Yeah. Oh yeah.

[00:10:57] Michael Jackson: Iframes and like-

[00:10:59] Ken Wheeler: SWFs. Yeah. Yeah. I used to, I used to do exclusively Flash work for like restaurants. You know, you make like restaurant websites with like The music, animation, intro and shit like that. Um, yeah. Wow. Shadowbox. How about that?

[00:11:12] Michael Jackson: So, so, so you got tired of making a separate carousel for every site and is that when you kind of distilled Slick Carousel out of that?

[00:11:20] Ken Wheeler: Yeah. Yeah. So I was like, um, almost any open source that I've ever written has come directly from anger. Anything that's been good has been a result of me being pissed the fuck off.

[00:11:31] Michael Jackson: Yeah. And you just need it, right? You're just like, oh my gosh, this sucks. I'm just gonna write this thing.

[00:11:36] Ken Wheeler: Yeah. I've had enough of this shit. So, and then-

[00:11:39] Michael Jackson: I feel you.

[00:11:40] Ken Wheeler: Yeah, so I, I ended up writing that carousel. Um, I think that was for Marc Jacobs, I think, is the, the project where I lost my shit. Yeah, so that got pretty popular. Um, I mean, I just used it internally, like, at first, and then I was like, hey, I should probably let other people use this. It's, it's pretty, pretty helpful.

[00:12:00] Michael Jackson: Um, you put it up on your GitHub?

[00:12:02] Ken Wheeler: Yeah, and I, I didn't know, you know, I mean, back then, like, I released the thing where, um Uh, it would do styled checkboxes, dropdowns, and something else. Videos, right? Like, 'cause you would override the styles on those and give you like image ones. And that was called HandsomeJS. And I was like really excited 'cause it got like 30 stars. I was like, wow, wow, we're making it big here.

[00:12:26] Michael Jackson: Wait.

[00:12:26] Ken Wheeler: I was so excited. And uh, so I was like, you know what, let's push this out, see how it goes. And it was just, you know, just bananas. Crazy amount of stars. I was like, wow, okay. Um, so yeah, that's, that's where I became embittered. And during the maintenance of that, you know, you go in, you know, all excited and bright-eyed, um, and then, you know, open source just tears your soul out of you. But I digress. Um.

[00:12:52] Michael Chan: Well, you know, that, that, that's interesting though, is that it feels like a lot of people reminisce about that happy place for them where they put something out into the world and a lot of people were just kind of happy that it existed and you got your 30 stars and you felt like a champ, right?

[00:13:07] Michael Jackson: Yeah.

[00:13:07] Michael Chan: And then there's that that other side of it, which seemed to happen directly after that for you with Slick Carousel, where you get the nasty side, where you get the stars, but like you get all the jerks too.

[00:13:17] Ken Wheeler: You don't get the nasty at first, right? Because you're so excited that people are using it and that your shit is relevant that you're not like, you know, like I would remember like people would put in bug reports and I'd be like, on it. You know, I just go running, fucking, you know, stay up till 4 in the morning fixing things. I'm like, oh, we have the best, the best version out now. Just released it, fixed a bunch of stuff, you know, all proud of myself and shit. Um, and then over time, right, and you know, once you work out the things that actually matter that are actual bugs, then all the bugs that get filed are just, you know, fucking petty, you know, just like, you know, it's, yeah, it's nitpicking. It's like, um, you know, people are very entitled. Shit like that. And then like, you're sitting there, you've stayed up for a month till 4 in the morning. And, you know, it it it took longer than that, you know, for a couple months there, I was like super responsive with the the issues and stuff.

[00:14:06] Michael Jackson: Well, and sometimes, and sometimes a lot of that stuff that comes later too is like, um, you know, you've established a baseline and it's time for somebody to kind of build on top of that. And, you know, they're trying to, they're trying to fit something into the core and you're like, yeah, this isn't really the core. This isn't really the job that I was trying to do, or that this thing, that this piece of code was trying to do. That's something else. Yeah.

[00:14:30] Ken Wheeler: I mean, it's hard, it's hard to, to keep the original vision or to keep control of the scope.

[00:14:36] Michael Jackson: Yeah.

[00:14:37] Ken Wheeler: So people are like, well, oh, this is my fucking favorite. Oh my God. Where people are like, um, oh, well, this doesn't do this. And you know, if you're not gonna add it, then I'm just gonna have to use this other one. Like,

[00:14:48] Michael Jackson: yeah. Oh my gosh. You're killing me. You're killing me. Are you telling me that you're gonna have to go and read somebody else's? Free code.

[00:14:55] Ken Wheeler: Wow. What am I gonna do with the the lost revenue?

[00:15:00] Michael Jackson: That uh I really appreciated that actually with uh uh Ryan Florence, actually my friend from uh last couple of years I've been doing a lot of React with. He uh he actually helped me to understand that perspective better than anybody. One one summer, I think it was like 2 years ago now, when Unpackage was like still very, very new, just like a just like an experiment really. I took the whole server down for like 15 or 20 minutes or something. And um and and yeah, somebody came in with that kind of attitude and they were just like, well, I just obviously can't rely on this thing, so I'm gonna have to blah blah blah blah blah blah and use something else. And I was like, and and me being the person who was like, who had created it, um I guess I'm a little bit more on the like, oh, I'm so sorry side, you know, like, oh, I want to make this nice, I want to make this good. And Ryan was just like, "Well, we're gonna miss your your weekly Unpackaged subscription."

[00:15:55] Ken Wheeler: Yeah.

[00:15:57] Michael Jackson: And I was like, "Thank you, man. You're right. You're absolutely right." 'Cause I really just made this thing and wanted to, you know, just try to share it with some people. And uh and here's this dude coming in here with this attitude like, "Oh, well, blah. I'm gonna go use something else." And and I just, I needed that. I appreciated that.

[00:16:16] Ken Wheeler: You guys are nice. Fellows, nicer fellows than I. And, uh, you know, I don't know if-

[00:16:22] Michael Jackson: We are gentlemen, you might say.

[00:16:24] Ken Wheeler: Gentlemen, yeah, gentle sirs. I don't know if you've noticed, but, uh, I don't do real well with arguing on the internet.

[00:16:31] Michael Jackson: Yeah, right.

[00:16:33] Ken Wheeler: So, uh, right, yeah, that, that, that's particularly challenging for me when you have, uh, people talking shit, you know. And it's like, you know, a lot, a lot of people are like, you know, I guess a little bit more enlightened You know, they're like, okay, well, you know, he can feel that way, but you know, that's how it is. Okay, no problem, bud, go ahead, do your thing. You know me, I'm like, I'm like, I will fucking kill you.

[00:16:53] Michael Jackson: Nope, that's not how it is.

[00:16:55] Michael Chan: Yeah. What's the- what's the thing that gets under your skin most? Because everyone's got a trigger, and like a lot of people can, can take a lot in a certain, a certain way, or a certain type of criticism they can just take all day, right? But then, but then there's- for everybody there's that one thing that just drives them nuts. What's that like core thing that just puts you off with, uh, with some of these commenters?

[00:17:17] Ken Wheeler: Um, well, there's two things I don't like. Um, when, when I don't like being attacked personally, um, especially when people try and make you feel bad for, for just being yourself. Because I'm a big fan of being myself and I strive to do it. Um, so when, you know, people are like, this guy's, you know, toxically masculine or whatever the fuck, you know, I'm like "Fuck, I will beat the shit out of you." And then, you know, obviously that that affirms that, you know what I mean? It's like, you know, but it's like, it's like, what the fuck? When did they- when did- when did that become a bad thing? You know, um, that and and and also intellectual dishonesty, right? Where where where someone will, um, where it's inconceivable to me that they don't know that they're wrong and they're still arguing.

[00:18:09] Michael Jackson: Yeah, you feel like they're uh like they're like they just refuse to concede.

[00:18:13] Ken Wheeler: I had this one uh guy on this one issue, right, who who insisted that he was a customer of my product, which was which was an open source library. It was Slick, right? He insisted that he was a customer and was entitled to customer service and that I was a bad steward of customer service um for for so for one reason or another. And there was a big pile on. A bunch of people came in, they're like, Are you out of your mind? You're not a you're not a customer. You know, he's like, well, but, and like, you know, this, he knew he was wrong, but he just kept going with it. He wouldn't, he he wouldn't concede.

[00:18:50] Michael Jackson: Right.

[00:18:50] Ken Wheeler: And I reported you to GitHub and da da da da. I'm like, you reported me to GitHub? Okay. Okay. Yeah. Fucking, they're gonna take down a 20,000-star repo for fucking, you know, Timmy Timmy don't do shit. Get the fuck out of here.

[00:19:03] Michael Chan: So, so that's the, so that's the bad stuff, but what's, what's some of the good stuff? Cause obviously you're the, you're the director of open source at Formidable. So. You have to you have to be getting some some value of it. Like what's the what's the part that keeps keeps driving you?

[00:19:16] Ken Wheeler: Two things. The first thing is uh every once in a while, uh someone will reach out and say that it helped, like one of the things I built helped them or they it was you know it was awesome or they had a good time with it or, oh man, dude, I was time crunched, I was fucked and you know this saved me. And uh you know that that just downright heartwarming. I like that shit. Yeah. That's good. And, you know, for for every, you know, uh dude who insists he's a customer, um for every 100 of those, you know, it's made up for when you have one person who is, you know, literally grateful that you wrote it. Um, that's cool as hell. You know, you you provided value and that's the shit. Um, uh I guess the other thing is, um, seeing it in use. Right? Like-

[00:20:03] Michael Jackson: That's fun.

[00:20:04] Ken Wheeler: That's really like, like, like, um, uh, Julian Shapiro, who made Velocity, um, also made this thing called Libscore. And it went and it scraped- I mean, it doesn't really work with bundled stuff, so I mean, it might now, but at the time it didn't. But so, so things like, uh, you know, that were like global on the window, it could pick up at the time. I don't know, you know, I don't know the current state of how that works, but at the time, you know, if it was on the window or, you know, as a jQuery uh function extension. Yeah, it would it would go and it would tally it up. Um and seeing everywhere that Slick was used, you know, like, you know, like it was like, you know, fucking Home Depot or Harvard or shit like that. And I'm like, wow.

[00:20:42] Michael Jackson: I wish I had something like that nowadays though, because I've wondered that about like React Router, for example, or like, like Unpackage, like where, like who's using this stuff? Sometimes I I try and grep through the logs. You know, but there are- I don't know, I should be better.

[00:20:58] Ken Wheeler: It's hard to get a pulse on, like, uh, you know, at Formidable we make Victory and, you know, we kind of want to know who is using it. There's not really a way to know that other than me going out on Twitter and being like, hey, who uses Victory?

[00:21:11] Michael Jackson: And then you would get everybody who follows you on Twitter and they would tell you. But yeah, but you, you know, you know that you're just missing- like, that's just the tip of the iceberg.

[00:21:20] Ken Wheeler: Yeah, yeah. Like, I mean, you know, obviously, you know, we're in this, this React bubble, so there's gonna be a lot of good hits, right? But there's there's definitely stuff that's— uh also there's stuff they're just not gonna tell you, you know, you know, there's probably some kind of compliance thing or something where they're not gonna own up to it.

[00:21:37] Michael Jackson: So you mentioned Victory. You you guys uh were— uh let's see, you're working on— so Victory is just one of the projects that— uh one of the open source uh projects that that Formidable puts out. You've also got uh Spectacle. Is that one that's put out by Formidable or was that like a personal thing?

[00:21:55] Ken Wheeler: I mean, it's it's I I wrote it, but it's it's uh-

[00:21:58] Michael Jackson: Just kind of all bleeds together.

[00:22:01] Ken Wheeler: All the open source that I've done since I've joined Formidable has been under Formidable. That's the deal.

[00:22:06] Michael Jackson: There's also— uh so Spectacle is this cool library for doing uh in-browser kind of like uh presentations, right? Like Keynote stuff. Um there's also Urql.

[00:22:16] Ken Wheeler: Urql.

[00:22:17] Michael Jackson: Probably one of the best named libraries out there. The one uh that one's-

[00:22:21] Michael Chan: Agreed.

[00:22:21] Michael Jackson: That one's for doing, um, golly, what's it called? GraphQL.

[00:22:25] Ken Wheeler: Yeah. It's like an Apollo Client type thing, but like a real- it's a simplified-

[00:22:29] Michael Jackson: Was was that one that came out of that- I mean, that I I was that you you spoke earlier about like, oh yeah, sometimes you just get so fed up that you just, you just make something. Was that one, was that one of those?

[00:22:41] Ken Wheeler: So I'll tell you the story about urql real quick.

[00:22:43] Michael Jackson: Yeah. I would love to hear that actually, because everywhere I go, everybody's like, oh, Apollo is the thing.

[00:22:51] Michael Chan: I love that. I love, Ken, that like everything has this like really good story attached to it with you. Like, let me tell you the story about that one a little bit.

[00:22:58] Ken Wheeler: So, uh, yeah, with, with urql. Um, so I, I don't know, have you done much GraphQL? Do you do it?

[00:23:04] Michael Jackson: I, I have done some. Yeah. Not a whole lot. My, my, my experience really ends with, uh, I've used some of Apollo and then I've also played with GraphiQL, but admittedly I haven't, haven't played with urql at all.

[00:23:16] Michael Chan: Yeah, and mine is limited specifically to uh Gatsby.

[00:23:19] Ken Wheeler: So um GraphQL is kind of the shit. Uh it's actually absolutely the shit. Um and one thing that frustrated me was uh not being able to use it on everything, right? Um there's a lot of places where uh it makes a lot of sense and it's not being used. Um You know, and I think that, uh, you know, it's it's certainly getting more popular now, but at the time, you know, it was popular, but it wasn't like super like in-prod popular.

[00:23:52] Michael Jackson: Yeah, like everybody knows what it is, they all know the name, but nobody's actually building stuff with it.

[00:23:58] Ken Wheeler: Yeah, yeah, it's like machine learning. Yeah, like everybody talks about that shit, you know, who the fuck fucking writes machine learning?

[00:24:04] Michael Jackson: Oh no, I do. Yeah, all the time. Yeah, do you?

[00:24:07] Ken Wheeler: Yeah, yeah, totally. Yeah, I've heard the word TensorFlow before. But you know, the idea with urql was that I wanted to use GraphQL at work. And the way I saw it was that in order to do that, in order to get the clients to say yes to using it, GraphQL had to get a little bit more widespread. It had to get more user share so that the developers would tell their bosses, of course you should be using GraphQL. You know what I mean? Not just like, yeah, I've I've heard of this. So, what I wanted to do is lower the barrier to entry. Again, at the time, Apollo was a little rough to get started with. You know, especially for somebody who doesn't know anything about GraphQL. And also at the time, like you had to import like like to get it going. Like they they have a a a beautiful amount of abstraction going there. Um, and that allows Apollo to work um across a number of different frameworks. Um, you know, it's it's all split out. It's it's It's heavily abstracted, um, which, you know, is good in that sense, but in the sense of getting started, when you have to npm install 8 things uh to get going, um, you know, that that that's a little bit of friction. And, you know, my my whole value add most of the time is reducing friction. Um, so I said, how how could how could we get this done, uh, you know, in in the least amount of code possible? Um, so I reduced it to one import. Um, and then, you know, as far as like, uh, you know, if you're if you're doing connections. Um, you're using, you know, higher-order components or you're using render props or what have you. Um, you know, with Apollo, you had to nest them at the time. Like if you wanted to do like multiple connections on a single component, you'd have to like nest it and stuff like that. So I wanted to do it, it's just one component, it's just a query component and you can you can just, you could attach your mutations with that. You can attach your your queries to that, they'll update. So the the idea was to make it uh as simple as possible. And that even extended to the cache. Um, I'm not smart enough to understand how Apollo's cache works and not even come close to be able to rewrite it.

[00:26:12] Michael Jackson: Caching is so hard.

[00:26:13] Ken Wheeler: Yeah, it's like a really, really involved like normalization setup and you know, I'm just not that smart. Um, so I came up with a a simpler way to do the caching. Um, and you know, it's it's all trade-offs. You know, it's like, um, if you're just putting something out. You know, it's like it's sort of like the thing where it's like, you know, uh somebody might be wary to use create-react-app um in prod, so to say, right? You know, if you're doing like prod for a client. Um but for like everything, literally everything else up to the point of it going into prod, it's fine. You know, I mean, the same sort of thing with urql where it's like, you know, if you really need like that, like in-prod Fortune 500 company control, sure, you know, Apollo will do. Um, but for everything else, I mean, urql, you know, it's it's to to to do anything beyond that would just be uh premature optimization.

[00:27:06] Michael Jackson: So is this the refetch function that you're talking about where you said, oh, I'm I've you know, I found a simpler way around having the cache? Are you talking about the refetch function?

[00:27:15] Ken Wheeler: No, it's it's it's um, so I I I couldn't figure out the normalization. So what I did was anytime you have a query on a component, Um, I I go through the actual- I I parse out the query uh into AST. Um, I go and insert this typeName uh property. And what what typeName does, it's an introspective property that'll give you the the type of the the GraphQL object thing that's being uh provided there, right? Um, so what you can do is you can create an index of the type names So you have like, you know, fucking post, user, and image in this query. So anytime anytime post gets updated, right, then you've got an invalidation. And then added an escape hatch where you can do a granular, like uh uh shouldComponentUpdate style invalidation where you're given the stuff that's changing compared to the stuff that was prior and then you can make that determination, return true or false.

[00:28:13] Michael Jackson: So so so let me see if I understand this again, not having done that much GraphQL. You've got a GraphQL query. You said you can insert a type name, which tells you, I guess, the types of objects that you're getting back from your query, like whether it's a user or a to-do item or whatever you're getting back from your query, friends, uh to use the Facebook uh example, the canonical Facebook example. So you so you insert this type name, now you know the types of objects that you're getting back. And then uh and then what do you do with those objects? You you you have like a fine-grained way to say, um, you said shouldComponentUpdate. It's kind of like a way to say-

[00:28:54] Ken Wheeler: This is all changing.

[00:28:55] Michael Jackson: Okay.

[00:28:55] Ken Wheeler: Yeah, my buddy Phil at Formidable is rewriting it. So it's gonna be it's gonna be a little bit more of a big boy cache. Uh, but you know, the way that it originally was set up is, uh, if if you have a query that has posts, right, it knows that it has posts and registers it with a subscriber, right? So then anytime you call a mutation, if you mutate a post, it's going to invalidate anything that has posts.

[00:29:18] Michael Jackson: Okay. That makes sense. So by posts, you're not talking about the HTTP method, you're talking about like an object type, right? So you've got an object type of posts and and something is mutating the posts. Now you're the one who's getting the posts. Now you, you're you're whatever you had cached is now invalid.

[00:29:34] Ken Wheeler: Yeah. So say you have uh uh friends, right? You have a list of friends and you you connect the query friends to this list. If you have an if you have like an add friend button and and then the mutation occurs and it knows that a friend was added. Now that friends list is gonna is gonna aggressively invalidate on the basis that a friend had changed. Yeah. With with with the escape hatch of having this, it's a prop, it's called should invalidate.

[00:30:04] Michael Jackson: Got it. So you can say so you can say no in the case where you know for sure that your that the friends that you're fetching do not need to be refetched.

[00:30:13] Ken Wheeler: Exactly. Yeah. So if you you know any condition, like you know you just have a list of you know friends who are you know uh you know the property realFriend is true. If Timmy's not in real friends, then you know, don't don't even worry about invalidating that because he's not gonna be in the list anyway.

[00:30:31] Michael Jackson: He's just a guy I knew in high school. We're not real friends.

[00:30:34] Michael Chan: I'm liking this app. Where can I download it?

[00:30:36] Michael Jackson: The the app that'll tell you who is your real friends and who's not. This sounds actually like a a a really nice way to do it. So you you decided to— uh you said, hey, I just want to use some GraphQL. I don't need a lot of this uh sort of fancy stuff that Apollo's doing. Um, you know, uh uh you give a shout out to Apollo. You say, hey, this library wouldn't even be possible without Apollo. Apollo made GraphQL click for me. So I'm giving some shout outs to those people, which I I think is really cool. But then, you know, I want to take I want to kind of have my own take on it and do this a little bit more more simply, I guess.

[00:31:10] Ken Wheeler: Yeah. And I mean, I mean, since then, Apollo has taken inspiration from a ton of that stuff and put it into Apollo. Um, which is great. Um, because that's kind of the point in the first place.

[00:31:21] Michael Jackson: Yeah. Yeah. You, you wanted to get about, get a lot of that stuff back in there, right?

[00:31:25] Ken Wheeler: I mean, I mean, when you think about it, it's like, uh, if, if this thing is gonna just have an update- I mean, in React, it's all about, you know, controlling your updates, right?

[00:31:33] Michael Jackson: Yeah.

[00:31:34] Ken Wheeler: And if you're doing a mutation, I mean, I mean, if you're doing an add friend, like, how often are you adding a friend?

[00:31:38] Michael Jackson: No,

[00:31:39] Ken Wheeler: right?

[00:31:39] Michael Jackson: No.

[00:31:39] Ken Wheeler: Is it really that bad if the thing updates when you add a friend, right? Like once, once every- however, you know, it's not like the thing's on like a It's not like it's like polling. Yeah.

[00:31:51] Michael Chan: Yeah. Yeah. This is this is something that's super fascinating to me is just I don't know what happened, but or if this is just this always happens, it's just part of the adoption curve and I just haven't been a part of enough adoption curves to know that it's just standard. But this whole thing of like component pre-optimization just drives me batty.

[00:32:12] Ken Wheeler: You know where it comes from, right?

[00:32:13] Michael Jackson: Don't get me started. Don't get me started.

[00:32:15] Ken Wheeler: It comes from Hacker News because anytime you post anything there, you get you get two inevitable questions regardless of what you're you're posting. And they are, why do we need this? And what about perf? And what a fucking shitty contribution to any conversation that is.

[00:32:35] Michael Chan: Well, that's that's real unfortunate because like your library- I mean, the answer to like why do we need this is like Well, the the what it takes to actually use Apollo is too hard right now for the majority of people. Um, was, sure, but at the time, right? Um, and then also what about perf is like, don't care as much. So, like it's really hard on just those two metrics alone to communicate the value of something like this, which increases the adoption of Apollo and um also gives the you know the people developing these APIs um, another point of reference to say like, oh, this is like the simpler approach that people want and they're willing to make that trade-off to, you know, to perf. Um, so let's try to like incorporate some of those people into this fold.

[00:33:24] Ken Wheeler: It's like the whole, like, why do we need this thing? Uh, most of the shit that gets posted up usually in every README I have and in most READMEs, right? Like the first thing is why we need this.

[00:33:34] Michael Jackson: Here's why.

[00:33:35] Ken Wheeler: So, you know, you know, it's not that, it's just this sort of like rhetorical, like, dickhead question. Like, why do we need this? You know what I mean?

[00:33:41] Michael Jackson: Didn't even take time to click through.

[00:33:43] Ken Wheeler: There's no value in it because, you know, they're, they're kind of reiterating it because they're, they're saying, you know, I, I read or didn't read the why we need this paragraph and I'm just gonna go ahead and, you know, kind of say that we don't need this by saying why do we need this, which is why I don't like Hacker News.

[00:34:02] Michael Jackson: The other question about perf is, uh, because it's, it's always the first question that, uh, I mean, you all know that I teach React and it's it's always the first question. I mean, I know you both do as well. It's it's it's always the first question uh out of out of somebody's mouth, even when we're like just getting started with React, you know, we're just starting to talk about JSX and creating objects to describe the DOM. And then it's like, well, how's that gonna perform? And it's like, what do you mean? What do you what do you even mean? When we talk about performance, there are so many levels of performance. There's There's network, there's cache, there's like CPU, there's memory, there's like raw, you know, download this bundle and and execute, you know, interpret the the the code and and and um and then there's run runtime performance.

[00:34:53] Michael Chan: Well, and there's how quick can you change it when there's a bug?

[00:34:56] Michael Jackson: Yeah. Yeah. And and so often the the question is just so sort of lazily and kind of like just thrown out there like, how, how does this perform?

[00:35:08] Ken Wheeler: It's not even a real question. They're just signaling, you know, it's like, it's like, oh, look at me, I give a shit about perf, but you don't even actually give a shit about perf. It's like, what are you doing? What are we, what are we even doing? We're rendering lists of shit on the internet that really don't matter most of the time. You know, it's not like I was sitting here monitoring the oxygen levels of astronauts or something. I mean, I get, I get like startup perf and, yeah, it's relation to like uh, like conversion.

[00:35:34] Michael Jackson: No, I I I I agree with you, Ken. It's it's not even a real question. It's like, uh, if you it's like, so usually what I do is I I have one of two responses to that question. Usually I either, if I'm feeling kind of like snarky, I'll put as much effort into the response as somebody put into the question and I'll just say, it performs great. At which point the conversation is over. Or- Yeah, exactly. Oh, oh, it performs great. Next question.

[00:35:59] Michael Chan: Blazing.

[00:36:00] Michael Jackson: Or or what I'll say is, I'll say, well, um, you know, let's let's ask Chrome, you know, and if you pop open Chrome's performance tab down there in the tools, uh the only thing you've got there is a record button, which which means you have to measure this stuff and profile it before you can figure out like if you actually have a performance problem or not, which in the vast majority of conversations about quote unquote performance that we have in technology, nobody's profiling. You know, where where where is where's the uh you know where is the bottleneck? If you don't profile, you don't know where the bottleneck is that you're talking about. You're just looking at and thinking, "Oh, well, it's slow. We should have written this in Vue," or whatever, right? Like, "I heard that technology X, I heard that some other technology doesn't have this problem." I mean, we did this at Twitter when I was there. We uh We uh we had written our whole app in Ruby and uh and you know we're like, well, we heard Scala's faster. So like everything, we're just gonna rewrite everything in Scala and like everything's a service now and everything. And Twitter, like, well, anyway, maybe we'll need to edit this out, but Twitter engineering is like the the the it's just crazy. It's crazy. Let me just let me just let me just say that. It's just crazy. But um Anyway, the rewrite doesn't solve any problems, right? You have to you have to the point is you got to measure. You got to profile. Once you see the bottleneck, now let's talk about performance. And and in React, what I've found is there's always an answer. You know, it was if you need to throw in a shouldComponentUpdate, if you need to throw in a PureComponent, we can address this performance problem. But but don't ask me how does this perform without having profiled, without having measured, uh you know, or or without even knowing like what the question is. Like what what is the aspect, what is the performance aspect that we are concerned about?

[00:37:53] Ken Wheeler: If somebody says, "What about perf?" There's only one answer to that. And that is, are you using object or array literals as props? And that's that.

[00:38:04] Michael Jackson: Yeah. Yeah. Then that that that gives them something to think about, right?

[00:38:09] Ken Wheeler: Yeah. And then you can go into the whole lesson about that and you know the actual update cycle and what what triggers updates.

[00:38:15] Michael Jackson: Just just just don't use a render prop, whatever you do. Because that'll kill that'll kill the performance of your whole app.

[00:38:22] Ken Wheeler: Oh, just murder the performance.

[00:38:24] Michael Chan: You know, actually, that reminds me of a tweet that you uh mentioned. I think— did— okay, correct me if I'm wrong. But you had, with regards to urql, you had uh changed it from like an actual render, like the prop name render to like uh function children, right? And you said something about— was it uh performance or like API?

[00:38:46] Ken Wheeler: No, it was it was API. So um Having the prop be named render, um, uh, I guess you couldn't do a functional child with that. Whereas when you name it children, you can supply it as an explicit prop or, you know, an implicit child function.

[00:39:09] Michael Jackson: Just lets you write it different when you're writing the JSX. Let's see, you have two options if you name it children. Yeah.

[00:39:16] Ken Wheeler: It's the more flexible option. Which, uh, you know, and I I I don't think there's any uh intricacies as far as how React handles children there. It's really just API flexibility.

[00:39:29] Michael Chan: Yeah, I was just I was just curious because it's something that like I I have liked the— or I guess up until the new context API came out, I really liked that uh basically like delegating render. I felt like it was a lot clearer and easier to understand. Than like kind of passing in a block with a function inside of it. Um, and so I was kind of curious to get a little bit more information on what it was that actually, uh-

[00:39:52] Ken Wheeler: I liked it too, but I got my mind changed.

[00:39:54] Michael Chan: Yeah. I mean, it was really more just, it was easier to explain to people in my opinion. It's like, oh yeah, you have this render function. You're just passing that back up. Like you're just giving that back, you know, control back to whoever's implementing it.

[00:40:06] Michael Jackson: Agree.

[00:40:07] Michael Chan: But whatevs.

[00:40:10] Ken Wheeler: Whatevs.

[00:40:10] Michael Jackson: One last topic and then we'll wrap this up. You've been getting into ReasonML lately.

[00:40:15] Ken Wheeler: That's right.

[00:40:16] Michael Jackson: You're like on all the most cutting edge stuff, Ken.

[00:40:19] Ken Wheeler: That's just that's just how I'm doing it out here.

[00:40:22] Michael Jackson: Just how you roll. So uh so ReasonML, help me understand. Uh what have you been working on?

[00:40:28] Ken Wheeler: Um been having trouble uh getting clients to say yes to it because it's so new and so edge. But I'm really, really liking it in the context of React Native. You see, with uh native applications, when there's an error, they completely shit the bed. Um, you know, as opposed to the web where it can kind of chug along and you'd be all right and you're like, hey, what happened? This thing is kind of messed up. You know, it's a malfunctioning robot. Um, you know, native apps just- Crash. You know, so so errors in in native are bad. Um, so you want to do what you can to not have that happen. Um, you know, I'm not gonna make any extravagant like Elm-like claims about no errors, but uh, you know, it is a sound type system and will not let your ass get away with uh having unhandled null. So um there's a lot of safety there in that respect. Um beyond that, uh it's it's really nice as far as like a programming paradigm. Like you know when you went from writing like jQuery stuff to to writing React stuff and it was a completely different style of programming, you started thinking about problems differently. It's that kind of change where now you're using uh you know this like JavaScript-y flavor of OCaml. And you have, um, see, here's here's the crazy thing about it is you have these things, you know, it's not just first-class types, which are the shit, might I add. But these first-class types are actually like data structures too, at the same time. It's both a type and a data structure, sort of like a TypeScript enum. Um, so you have these variant types, um, which themselves are are data. Right? It's it's it's yeah, yeah, it's data. Um, they're uh, um, you know, so you have the pattern matching and you have the variant types, uh, and it it it has some some patterns that you might, you know, it's like almost like state machine-y, uh, kind of stuff where it's, uh, you know, you're not using strings or anything like that. And then like you have-

[00:42:45] Michael Jackson: One thing I'm one thing I'm super interested in taking advantage of is the the pattern matching.

[00:42:51] Ken Wheeler: Oh, it's fantastic. And it's, and it's, it's, you will not write Reason without it. It's, yeah, you know, it's,

[00:42:58] Michael Jackson: yeah,

[00:42:58] Ken Wheeler: especially Reason React. If you're doing like a reducer component, the pattern matching, right, is right there.

[00:43:03] Michael Jackson: Yeah. I took a look at the uh router that they did in Reason React and it was all just, just a pattern match. I mean, that's all routing is, right? It's, um, so that's the perfect, uh, case for a pattern matcher. Yeah.

[00:43:14] Ken Wheeler: And it's like whenever you thought you've hit a wall with it. You're like, ah, I knew they didn't have this covered. You go and you look and you're like, ah, they've done it again.

[00:43:23] Michael Chan: So when you're using Reason React, does it feel like you're kind of- like I know that it uses- it kind of targets React, right? Like you're writing Reason and it kind of has this like integration.

[00:43:37] Ken Wheeler: It's React, yeah.

[00:43:38] Michael Chan: Does it does it feel for the most part- because I know they have different um components, uh than the kind of React library itself does. Does it feel like you're kind of off-grid a little bit? Or does it feel like you're like- I mean, first class, you're right there?

[00:43:53] Ken Wheeler: It feels like if I were to write like a React fantasy API. Seriously. It's like a React fantasy API.

[00:44:02] Michael Chan: All right.

[00:44:02] Ken Wheeler: Like imagine if uh if it was all just functions. And um you know you didn't have classes. Um, and everything, like, like, imagine if you put like, like, modern-day React and like, like, an Elm type thing together, right? Like, you took like React, Elm, and Redux and smashed them all together, Hulk style. Um, that's sort of what it feels like.

[00:44:25] Michael Chan: Okay.

[00:44:26] Ken Wheeler: But there's, there's, there's, there's accoutrements, right? So it's like you have, uh, you have things like prop punning, right? So-

[00:44:33] Michael Chan: Yes.

[00:44:33] Ken Wheeler: Like, yeah, like, you're not writing, you know, data equals bracket data, right? You just write data. Um, you have things like, uh, uh, like, like, who likes positional arguments, right? You have, you have, you have named arguments, um, optional arguments even, right? You can, you can do like an underscore before an argument and then it doesn't bitch about it being unused.

[00:44:55] Michael Chan: And those are all part of the language, right? So it's like you don't have like the prop types thing at that point because it's all All Reason.

[00:45:03] Ken Wheeler: It's all the language. You know, some stuff is a little bit different, right? Like um uh some of the operators, like like for you you have to keep in mind you're still you're still writing OCaml, right? So it's like you can't you know this isn't this isn't uh JavaScript and it's not it's surely not HTML. So you can't just have this like freeform text all over the place, right? So like you have to do this thing like ReasonReact.String and then the text that you want to to cast to string. There's a lot of like like casting. Type stuff that you need to do, you know, this, this type coercion shit isn't, isn't there. Right. So, you know, if you have, if you have a boolean or you, I mean, you, you have to, you know, if you wanna do booleans in React, you do have to cast that to string, but, uh, something like a, like an integer, right. You have to cast that to string. You have to say int of string or string of int rather. Um.

[00:45:54] Michael Jackson: Yeah. That feels like that could get a little bit kind of unwieldy sometimes, but like, I can understand why they're doing it.

[00:46:02] Ken Wheeler: You get used to it.

[00:46:03] Michael Jackson: Because it has to have a type, you know?

[00:46:05] Ken Wheeler: Yeah. And and that's just that's just the the one of the parts of it being just sound as fuck, you know? It's like it's like you you you see yourself doing it and you're like, shit, like how often in JavaScript is it just doing this for me and fucking it up?

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

[00:46:20] Ken Wheeler: Like, you know, so it's I I guess that that's a that's a pretty cool part.

[00:46:25] Michael Chan: That's true. You you sleep better at night, right? Because like It's a pain in the butt to write it the first time, but then you never worry about it again.

[00:46:32] Ken Wheeler: I'm giving a talk tomorrow and it's a Reason talk, right? But uh the whole first half of the talk is about making your app sturdier, right? And there's I have never felt as confident about the sturdiness of an application than when it was written in Reason. Ever.

[00:46:51] Michael Jackson: That's the endorsement. That's all that's all. I'm serious. That's all that's all I need to hear.

[00:46:56] Ken Wheeler: So I was I I emceed Seattle JS. And I uh felt bad going to a conference and just talking and not presenting. I felt like I wanted to help out a little bit more. A lot of people working really hard to make that happen. So I said, hey, maybe I should uh make a conference app. We don't have a conference app. You know, perhaps I should make one. So I made it with Reason in React Native. Reason React Native. Uh it was BS React Native. Which is the bindings. There's also Rebolt now, which you can use. But um I I was writing it and finishing it on the plane to Seattle to go to the meetup.

[00:47:31] Michael Jackson: Oh, no way. Your way there.

[00:47:32] Ken Wheeler: Yeah. And I didn't have Wi-Fi, right? But I was still editing it because I have a compiler, right, that is sitting here telling me whether this is good or not. And uh one of one of the things that really made Reason stand out for me is when I landed and got Wi-Fi-

[00:47:46] Michael Jackson: You've gotta be kidding me.

[00:47:47] Ken Wheeler: It worked.

[00:47:48] Michael Jackson: What?

[00:47:49] Ken Wheeler: It worked. Now I was sitting I was sitting there flying blind, right? Just just coding, just kind of relying on the type system to make sure that this would actually run and not shit the bed. Dude, ran it, it worked. And uh that that that was a big step for me. And uh I thought it was cool because I I I put the first Reason in the App Store.

[00:48:08] Michael Chan: Nice.

[00:48:09] Ken Wheeler: Blau.

[00:48:10] Michael Chan: Nice.

[00:48:10] Ken Wheeler: Blau. First in, holler at your boy.

[00:48:14] Michael Jackson: It was that it was that app, that conference app for Seattle, yeah.

[00:48:17] Ken Wheeler: Yeah, yeah, I think that was the first one. Yeah, and it was it was non-trivial too.

[00:48:20] Michael Jackson: Yeah.

[00:48:21] Ken Wheeler: It was uh some fancy shit.

[00:48:23] Michael Jackson: Dude, nice work, Ken. Nice work, dude.

[00:48:25] Ken Wheeler: America.

[00:48:26] Michael Chan: So the so the value for React Native is definitely there. It seems to feel more natural. It seems to kind of uh be a better fit for that system, um given the error situation. Um do you feel like it's uh as good of a bet on the web or are there still some hurdles there?

[00:48:43] Ken Wheeler: I do, I do. And um the reason that I do is if you look at something like like Sunil's like bs-nice, right? You're uh and then this is present in the React Native bindings too. When you're doing CSS, um it's typed, right? So like uh anywhere where it accepts like a string value, right? Like if you have like uh none or block or something like that, um these are enums. Right? So it's like uh if if if you're not providing a value that's valid at compile time, it's gonna tell you, right? So it's checking your CSS for you.

[00:49:18] Michael Chan: Yep.

[00:49:19] Ken Wheeler: So from a CSS perspective, you know, it's there and it's solid. So you know, it's it's while the errors are a bigger deal in React Native, um in regular React on the web, it's great too. And I just want to add one more thing about Reason before we wrap that up. Um there's also a project called Reprocessing. Which is a Reason port of Processing, where you can make uh you can make uh games, right. And this has nothing to do with React, right. It's like a game loop and you're just writing it in Reason. You know, there's no React architecture. Um and it's fantastic. And it renders to OpenGL on the web. It renders to native Android and native iOS.

[00:49:59] Michael Chan: Wild.

[00:49:59] Ken Wheeler: Native and OpenGL native on the desktop. And this is native code. I'm not talking about React Native. It's- there's no interpreted JavaScript thread. This shit goes native. It compiles to native code.

[00:50:10] Michael Jackson: Crazy.

[00:50:11] Ken Wheeler: Um, which is bananas. You, you write a game one time and you get it for free on the web, uh, mobile devices, and your desktop. So-

[00:50:19] Michael Jackson: Didn't, uh, didn't Jared Forsyth do a game in that?

[00:50:23] Ken Wheeler: He did too.

[00:50:24] Michael Jackson: Yeah, it was like a game with like a ship flying around. I thought I saw, but that- yeah, that's really cool.

[00:50:31] Ken Wheeler: I did throw rocks too.

[00:50:33] Michael Jackson: Yeah, and he and he published the game on iOS and on Android, and you could play it on the desktop as well. Well, cool. Well, Ken, we have gone for almost an hour now, which I think is the longest we've gone- Wow. —with anybody. So this is amazing. Thank you for sticking with us for so long.

[00:50:50] Ken Wheeler: Dude, thanks for having me for so long. I'm usually thrown out at this point.

[00:50:54] Michael Jackson: Ken Wheeler, everybody. Thank you for- thank you for joining us on the React Podcast. Let's see, what- what- let's get your handles out here. What are we?

[00:51:00] Ken Wheeler: Ken_Wheeler on Twitter, Ken Wheeler on GitHub, Ken Wheeler on MySpace, SexyBabyKitten5 on AOL Instant Messenger.

[00:51:09] Michael Jackson: No, you were not.

[00:51:11] Ken Wheeler: Yep.

[00:51:14] Michael Jackson: All right, Ken, thank you so much for joining us today, and, uh, we will see you all next week. On another uh episode of the React Podcast.

[00:51:23] Ken Wheeler: Holla!