![]() This week, we’ve got React hook turtles all the way down, Jörmungandr trying to take down JavaScript, and a surefire way to get on Linus Torvald’s good side. Welcome to #99.
React hooks are causing problems which can only be solved by another React hook which is causing problems which can only be solved by another React hook which is causing problems which can only be solved by another React hook. React Hooks is turtles all the way downUsing React hooks is kinda like cutting your own hair. Seems easy enough, but in reality you’re a screw up away from a buzzcut and an unhappy spouse (couldn’t be me…). For years now React developers have struggled with the hooks API, specifically with Fortunately, the React core team just posted a RFC (request for comments) for a new hook to solve your problems… or confuse you even more… or both (jury’s still out). We don’t have space to go into all the details, (that’s what the RFC is for), but here’s the tl;dr. The new hook is called If that’s confusing, here’s a great tweet that should help. The React core team is still collecting feedback on the API, so there’s a small chance the name or something else important will change. But we’re confident it will turn out great (given that design by committee typically produces great results 🙂). The bottom line: Some hooks are confusing. And so more, less confusing hooks will help with the confusing hooks. Don’t worry if you’re confused - you’re not alone.
“You set this up in 5 minutes? Incredible.” [sponsored] FusionAuth made my job fun againI got into this industry for one reason — my burning passion for building complex authentication solutions. Ok, that’s a lie. Call me old fashioned, but I’m just a little more interested in building features that users *actually* care about — instead of worrying about crap like SSO, MFA, user management, and all the security headaches that come along for the ride. That’s why we’re huge fans of FusionAuth. They handle all of the messy auth and security stuff for you, and make it super easy to integrate with your app in 5 minutes or less (no matter how weird your tech stack is). They’re also way more flexible than most other auth tools — you can deploy anywhere, you can self-host, and you can easily customize whatever you want with their straightforward APIs and webhooks. Check it out — and never worry about hand rolling auth again.
I’ve had it with these mother-fricking snakes in my mother-fricking HTML Python in the browser?We knew this day would come eventually: Python is coming for the web. This is not a drill. Wtf? The Anaconda team just announced PyScript — a brand new framework that lets you run Python in the browser and build web apps using Python and “special HTML tags”, which we all know and Why tho? Because just like Jörmungandr, the giant snake child of Loki in Norse Mythology that wraps itself around the entire world, Python is coming for us all. In a more literal (and less apocalyptic) sense, the PyScript team says they created it to “give users a first-class programming language that is less weird, more expressive, and easier to learn than Javascript.” Ouch 😔 Besides the subtweeting, here’s what else is going on inside PyScript:
The bottom line: You can keep your fancy new “simplified web platform.” I’ll be over here executing arbitrary code from NPM while I argue on Twitter about a UI library being too low level. JobsYeti Labs is looking for Frontend (React + Typescript) developersYeti Labs is a human-centered frontend studio designing and building web apps for DeFi protocols. We love UI animations, innovative UXs, best practices, reusing our code, improving our workflow and learning new things. Come join our crew as we solve interesting challenges while having fun. Loops is looking for founding full-stack Next.js engineersMost email platforms are showing their age — heck, this email was sent via a platform that is 9 years old now! Loops is a modern and beautiful alternative for SaaS companies. Our stack is Next.js, Postgres, and Tailwind. We just wrapped YC and our seed funding raise led by Craft Ventures. Come join our core engineering team! 📝 QUIZ TIME — Sponsored by RetoolRetool’s brand new React component library makes it super easy to build any internal tool you can think of. We use Retool daily and we ❤️ it. Given this HTML and CSS, what color is the background of the page?
Cool Bits
📝 QUIZ TIME Solution — Sponsored by Retool
The The bug is using |