#611 — October 21, 2022 |
|
JavaScript Weekly |
Metaprogramming with the 2022-03 Decorators API — If you’re a Python developer, you’ll be miles ahead on this idea. If not, decorators provide a way to manipulate classes, fields, methods, and accessors at define time to give them extra, amended, or wrapped functionality or behavior. The proposal is at stage 3 at TC39, is supported by Babel, and will soon be supported by TypeScript, so why not get up to speed with Dr. R. Dr. Axel Rauschmayer |
Node.js 19 (Current) Released — We did a big feature in yesterday’s Node Weekly, but in short, this is the new, edgiest 'Current' non-LTS Node.js release which gains a Nodemon-esque The Node.js Project |
Your Source for Candid Chats on Product, Business & Leadership — If you’re looking for insights on how to get to a successful product launch, why being vulnerable can help make you a better leader, or how to ship software with realistic deadlines, the Postlight Podcast is for you. The Postlight Podcast sponsor |
A Real World React to htmx Migration Story — htmx is a library that ‘turbo charges’ HTML by letting you use numerous JS and Web API features via custom HTML attributes. Here a Python-based team shows how it worked better for them than a more common React approach. David Guillot |
p5.js 1.5: Creative JS Coding, Now with Animated GIF Exporting — p5 is hard to define – it’s like Processing but for JavaScript, and it lets you create creative, visual experiences in the browser. Examples? Why, of course. v1.5 is a significant release as you can now easily save GIFs of your creations which leads to fantastic tweets like this. Basically if you want to generate cool animated GIFs using JavaScript, this should be your first port of call. Qianqian Ye and Contributors |
IN BRIEF:
|
📅 Live Event: Visual Workflow Automation, Now with Code — No more one-off scripts, CRON jobs, or ETL tasks. Reclaim your time and build automation like a developer. Retool sponsor |
RELEASES:
|
📒 Articles & Tutorials |
Creating a World-Class Code Playground with Sandpack — CodeSandbox’s Sandpack is a toolkit for creating ‘live code editor’ components. Josh Comeau shows off how to use it to good effect to boost your blog posts, courses, and the like. Josh W Comeau |
Secure JavaScript URL Validation — Though conforming to a standard structure, URLs come in all shapes and sizes and you may not want your app to accept URLs that are malformed or otherwise problematic. This post covers some of the considerations involved. Mannan Tirmizi (Snyk) |
'What if the Team Hates My Functional Code?' — I think most folks who’ve been bitten by the functional programming bug have eventually run into problems when convincing other developers it’s the way to go. James provides some soothing perspective. James Sinclair |
Why Does Jos de Jong |
Tutorial: Add SSO & Access Control to Your Node.js App Userfront sponsor |
▶ Effortless End-to-End Type-Safety with Phero — A ten-minute demonstration of a library providing a type-safe TypeScript-based way to communicate between frontend and backend. GitHub repo. Jasper Haggenburg |
Modern CSS in Angular: Layouts
|
How to Use Google Sheets as a Database from React with Serverless
|
Building a Chat App with Socket.io and React Native
|
How to Use |
🛠 Code & Tools |
route-list: CLI Tool to Display Express/Koa/Hapi/Fastify Routes — If you’ve got a Node-based webapp and you want to see all of its endpoints in an elegant way, here’s an option. Vladimir Mikulic |
TypeRunner: A High-Performance TypeScript Compiler — The TypeScript project already has its own compiler ( Marc J. Schmidt |
Strong CAPTCHA: A Secure and Scalable Way to Fight Fraud — Learn how to combat CAPTCHA fraud without sacrificing user experience. Stytch sponsor |
Angular Starter: Angular 14 plus Storybook, Transloco, Jest, and More — Everything but the kitchen sink? Wilfried Lucha |
|
|