#623 — January 27, 2023 |
|
JavaScript Weekly |
Astro 2.0: The Next-Gen 'Islands'-Oriented Web Framework — 2.0 includes hybrid rendering (mixing of SSR and SSG outputs), type safety for Markdown & MDX, and an upgrade to Vite 4.0. Astro is worth exploring when performance is key as it works with popular frameworks but lets you deliver the least JS possible to get pages rendered. Fred Schott |
Prefer a talk? Nate Moore's ViteConf talk ▶️ Islands Architecture, Astro, and You will bring you up to speed. |
Deep Cloning Objects in JavaScript, The Modern Way — If you’ve been leaning on something like Lodash for deep cloning, you might not need to any longer. “It’s been a long time coming, but we finally now have the built-in Steve Sewell |
Go From Professional Web Developer to Lead Engineer — Aspiring lead developer? Our collection of comprehensive video courses cover the fundamentals of JavaScript, TypeScript, React, web performance, and more. Frontend Masters sponsor |
Announcing TypeScript 5.0 Beta — A new major version number, but users of the popular typed JS superset will face a ‘similar upgrade experience’ to previously. Decorators make it in as a first class feature, significant performance and package size optimizations are present, Daniel Rosenwasser (Microsoft) |
AlaSQL.js 3.0: Isomorphic JavaScript SQL Database — A SQL database you can use in the browser, Node.js or mobile apps. An interesting bit of functionality is you can use SQL to query JavaScript objects – example. “The library adds the comfort of a full database engine to your JavaScript app. No, really.” Andrey Gershun |
IN BRIEF:
|
RELEASES:
|
📒 Articles & Tutorials |
Getting Started with SvelteKit — SvelteKit only recently hit 1.0 and this is a comprehensive overview of how to build a site using the Svelte-oriented app framework. It covers topics like routing, layouts, data, props and more. Adam Rackis |
Using .NET Code from JavaScript using WebAssembly — “Starting with .NET 7, you can easily run any .NET method from JavaScript without needing the whole Blazor framework.” Gérald Barré |
JavaScript Scratchpad for VS Code (2m+ Downloads) — Quokka.js is the #1 tool for exploring/testing JavaScript with edit-continue experience to see realtime execution and runtime values. Wallaby.js sponsor |
Adam Argyle (Chrome Team) |
Packaging Rust Apps for the npm Registry — Isn’t npm just for JavaScript projects? Nope. Node is required to make this technique work, but as long as you can package and execute a binary, you’re good to go. Orhun Parmaksız |
Making Sense of TypeScript using Set Theory — This article certainly doesn’t hang around. Neat diagrams too. Vladimir Klepov |
React Authentication, Simplified Userfront sponsor |
Accessible Hamburger Buttons without JavaScript — Sometimes you need to consider if modern techniques allow you to avoid JavaScript. Here’s a CodePen if you want to play. Pausly |
While we're on the topic of less JavaScript, the latest episode of the Stack Overflow podcast ▶️ 'The less JavaScript, the better' focuses on Astro. |
🛠 Code & Tools |
Uppy 3.4: Powerful, Modular JavaScript File Uploader — Upload not just from local sources but even Dropbox or Instagram. Integrates with popular frameworks and supports resumable uploads. GitHub repo. Transloadit |
Nut.js 3.0: Desktop Automation from Node — Take control of your desktop (Windows, macOS or Linux) in code with control over keyboard + pointer, along with image matching functionality. GitHub repo. Simon Hofmann |
Optimize Your Systems' Performance With TelemetryHub - Real-Time Data Monitoring & Analysis — An advanced data visualization and analysis tool that can help you identify and resolve unseen issues in your environment. Try free. TelemetryHub by Scout sponsor |
Eleventy v2.0: First Beta of the Popular Site Generator — Eleventy is a popular Node.js static site generator and v2.0 includes enough major changes that a thorough beta is needed. The creator ▶️ made this quick video about the release. Zach Leatherman |
Mock Service Worker 1.0: API Mocking Library for Browser and Node — Intercepts requests which you can then mock. Capture outgoing requests using an Express-like routing syntax, complete with parameters, wildcards, and regexes. GitHub repo. Artem Zakharchenko |
Drift: A Self-Hostable Gist-Like / Pastebin Service — Built with Next.js 13. Max Leiter |
|
|