text
stringlengths
0
1.36k
**Alex Sexton:** Oh, they really should have done the old CheckBox Checked thing, where you didn't need JavaScript...
**Paul Irish:** Yeah, I mean, they're using a straight up on-click handler, like in-line onclicks. That's pretty classic.
**Adam Sontag:** So you just mean that they might not need JavaScript? \[laughter\]
**Alex Sexton:** I also... As part of the plugin of the week - I don't think it was ever the plugin of the week, but this felt like the right place to talk about it... One friend of the podcast, Ralph Holzmann, let me know recently that there was recent activity in the LABjs project. LABjs, if you remember, was one of ...
**Adam Sontag:** We lost a lot of good devs out there... \[laughter\]
**Alex Sexton:** \[35:38\] Yeah... LABjs was Kyle Simpson, or getify, as you've probably seen streams of consciousness fly by your Twitter stream from him... Really bright dude, but I definitely did not expect a 3.0 or any late updates to the script loader entries. So yeah, 3.0 is in the works... I think it actually is...
Kyle did some work with the standards bodies to do some of the async false stuff, in order to guarantee in-order async loading... So if you inject a script with async false after the DOM was already loaded, it means that it must execute in order, and that is like a thing now.
**Paul Irish:** That's a thing?
**Alex Sexton:** Yeah, I think yeah.
**Paul Irish:** Oh, wow...
**Rebecca Murphey:** Alex gets to say when things are things.
**Paul Irish:** I believe him.
**Rebecca Murphey:** If he says it's a thing, it's a thing.
**Paul Irish:** If he says it, okay...
**Alex Sexton:** Yeah... But specifically, <link rel="preload"> Another one of Paul's co-workers, Eric Bidelman, recently tweeted about <link rel="preload"> for scripts and styles landing. So you can preload critical resources... But you can also do that with service workers and stuff too, so choose your to...
But yeah, I thought it was interesting... A little LABjs update for everyone, in 2017.
Next up, we were going to have "Paul Irish's jQuery Anti-pattern for Performance of the Week. Whump-whump!" Yeah, whump-whump is correct, because I think Paul just decided that jQuery is the anti-pattern for performance of the week...?
**Rebecca Murphey:** Ouch!
**Paul Irish:** Yeah, yeah I guess...
**Adam Sontag:** Oh, man... That's a double-burn because that was my pre-show goal.
**Alex Sexton:** We'll move on quickly... \[laughter\] Next up is a less oft used segment that we add in yayQuery, called "the yayQuery Beginner's Corner", and I would implore us to not sing this one... Okay, Adam can sing it. \[laughter\]
**Adam Sontag:** \[singing\] The yayQuery -- or something like that -- Beginner's Corner! Where everything is new!
**Alex Sexton:** Where everything is new, yeah ok, cut that out.
**Alex Sexton:** Jonathan Neil is dying somewhere in the JS Party Slack.
**Rebecca Murphey:** I think he started an octave too high... \[laughter\]
**Alex Sexton:** Yeah, also a shoutout to Jonathan Neil for all the music that hopefully you're hearing again... There's a band camp with all of this music out there from John.
**Paul Irish:** Yeah, just google "John Neil band camp", and all the music is right there; it's so good.
**Alex Sexton:** Yeah. I remember back in the day, we were like "Hey, John, you had written some jQuery song once... Do you wanna do a theme song for us?" and then a day and a half later he's like "Here's 21 songs..." \[laughter\], all of different lengths, all perfectly recorded, for segments you didn't even know you ...
**Adam Sontag:** With like dense Beachboys-esque vocals... It wasn't just like he turned on his tape recorded and let his melodica rip... \[laughter\]
**Alex Sexton:** Bizarre in how fast and good the turnaround was on that.
**Paul Irish:** Amazing... Truly amazing.
**Alex Sexton:** Anyway, let's get into the beginner's corner. Rebecca, I think you were talking about...
**Rebecca Murphey:** Yeah, this was always my segment, of like "say things that maybe you didn't know."
**Alex Sexton:** It's a different segment, actually.
**Rebecca Murphey:** What?
**Alex Sexton:** The things you maybe didn't know - that's the hiddenhancement... \[laughter\]
**Rebecca Murphey:** Is this the throwdown here? \[laughter\]
**Adam Sontag:** \[\\00:39:46.14\]
**Rebecca Murphey:** Yes, he did! \[laughter\]
**Alex Sexton:** Classic!
**Rebecca Murphey:** \[39:51\] He did just do that... As men do. No, sorry. No, I just saw this video, and... A lot of people are mystified by Webpack and how it works - especially people who are kind of new to JavaScript and frontend development, or people who have been doing it for a while, but feel like they need to...
So check it out, it's 45 minutes or so long, but it was super approachable. I sat in a room with a bunch of other devs watching it, and could see them like "Oh, I get it now...", so I highly recommend it.
**Alex Sexton:** On the topic of Webpack - I do some Webpack work and have configured some crazy Webpacks in my day, but there's some of it that's weird, right? Does anyone fully get why it's query parameter based configuration in parts? Is there a reason for that?
**Rebecca Murphey:** It's like anything else -- somebody needed something, so somebody wrote code to make that thing; it wasn't like a design review behind it, I imagine, like "Here's how we should do it." \[laughter\] But you don't have to pass it -- the query parameters are a nice, string-based way to express configu...
**Alex Sexton:** Right, right.
**Rebecca Murphey:** I don't now, it's a cool hack... Do you wanna write JSON strings by hand?
**Alex Sexton:** No...
**Rebecca Murphey:** No, right? So query strings - here we are.
**Alex Sexton:** I added something to this section too, so I might as well mention it. I think everyone shared it a million times, but if you ever wanna learn Redux, I really like the Getting Started With Redux course on Egghead.io from Dan Abramov, who wrote Redux. It's very good. He takes you through the concepts of ...
**Rebecca Murphey:** Can I say something about Redux?