#629 — March 10, 2023 |
|
JavaScript Weekly |
JavaScript Features from the Past Few Years — Packed with examples, this post tackles the changes and tweaks to JavaScript and TypeScript over the past several years (some as far back as ES6/ES2015, like tagged template literals). Linus Schlumberger |
Astro's 2023 Web Framework Performance Report — The folks working on Astro looked at data from thousands of sites to understand how sites built around Astro, Gatsby, Next.js, Nuxt, Remix, SvelteKit and WordPress perform on common Web performance metrics. Shipping less JS equals more performance. Fred Schott (Astro) |
In other Astro related news, Astro 2.1 has just been released with experimental automatic image optimization support, plus they've visually rebranded the project. |
A Fresh Introduction to Next 13+ — Learn Next.js, the complete full-stack framework to create basic blog websites up to full-blown apps and APIs! Plus if you are already familiar with Next.js, we have a course building a full app on Next 13+. Frontend Masters sponsor |
TypeScript's Migration to Modules — TypeScript has restructured its codebase to use ES modules. For this, we get smaller package sizes, quicker build times, and little disruption to end users. A CommonJS API is provided for now so that build scripts don't break. This post goes deep in to what the move entailed. Daniel Rosenwasser and Jake Bailey |
IN BRIEF:
|
RELEASES:
|
📒 Articles & Tutorials |
Common Beginner Mistakes with React — Experienced React educator Josh has seen all the problems people encounter and here he digs into “9 of the most dastardly gotchas” and how to resolve them. Josh W Comeau |
▶ Coding Kenta Toshikura’s Glass Effect with Three.js — Yet more creative noodling with Three.js and shaders that goes over my head. Yuri Artiukh |
React Authentication, Simplified — In this article, we lay out a new approach to authentication (plus access control & SSO) in React applications. Userfront sponsor |
How to Change the Favicon When Switching Browser Tabs — Originally inspired by Astro, you can see the concept at work on notepad.js.org Amit Merchant |
▶ Progressive Web Apps (PWA) for Beginners — Beginner-focused series on building PWAs, covering their capabilities, pros and cons, and more over 17 videos. Microsoft Developer |
How to Make Slow React Native Apps Faster — The folks over at Retool recently released an app to build native apps in a similar way to Web-based ones. This post covers a few optimizations they made to make it app faster. James Lee (Retool) |
Full-Stack TypeScript with tRPC and React — How to create a CRUD app with Express on the server and React on the client using tRPC to communicate between the two. Robin Wieruch |
Building an Image Recognition App with Pinecone, Hugging Face, and Vercel |
Using Zod and TypeScript for More Than User Input Validation |
Building Complex Forms in Vue |
🛠 Code & Tools |
HuggingFace.js: Use Lots of ML Models from JavaScript — Hugging Face is a popular online community and repository of machine learning models. The goal of this library is to open up those models more easily to JavaScript. Hugging Face |
Dynaboard: A Visual Web App IDE Made for Developers — Build high performance public and private web applications in a collaborative — full-stack — development environment. Dynaboard sponsor |
Chrono: A Natural Language Date Parser — Give it a string like “today”, “last Friday”, “2 weeks from now”, or even an entire date and time, and it’ll come up with a date object to suit. Wanasit Tanakitrungruang |
Embetty 4.0: A Privacy-Conscious Way to Show Third Party Embeds — Tweets, and Facebook, Video or YouTube thumbnails (see demo here.) The privacy comes from using a proxy server you host yourself. heise online |
Finder 3.0: CSS Selector Generator — Given an element, it produces the shortest possible selector that reaches (solely) that element. Anton Medvedev |
Tuple, a Lightning-Fast Pairing Tool Built for Remote Developers Tuple sponsor |
Feathers 5: Node.js API & Real-Time App Framework — Feathers is a great option if you want to spin up a CRUD app tied to a database and now it’s “TypeScript all the way down” too (you can choose to use JS, as you prefer). Leap into the quick start guide to see what it’s about. David Luecke |
FormKit: The Open-Source Form Framework for Vue — Ships with production-ready scaffolding like inputs, forms, submission and error handling, and validation rules. FormKit, Inc. |
|
|
😎 A Bonus Item |
Ink 4.0: Use the React Approach for Building Interactive CLI Apps — Build your command line apps using React-style components. As of v4.0, Ink is now pure ESM, requires React 18, and requires Node 14.16+. Vadim Demedes |