Astro 2.0 and TypeScript 5.0 beta
#623 — January 27, 2023
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.
Prefer a talk? Nate Moore’s ViteConf talk ▶️ Islands Architecture, Astro, and You will bring you up to speed.
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, export type * is supported, all enums are now union enums, and much more.
Daniel Rosenwasser (Microsoft)
? If you’re really into Vue.js, you’ll soon be able to become officially certified in it.
If you’re using React, you should be using a React framework, ? says Andrew Clark of the core team.
The creator of alternative JS runtime Bun asks: “If there’s one thing missing from Bun for you to switch, what is it?” You can reply on Twitter.
↳ Agnostic library of web components.
↳ Tiny fuzzy search library.
? 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 Argyle (Chrome Team)
Making Sense of TypeScript using Set Theory — This article certainly doesn’t hang around. Neat diagrams too.
React Authentication, Simplified
? Code & Tools
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.
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.
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.
Drift: A Self-Hostable Gist-Like / Pastebin Service — Built with Next.js 13.
↳ Interactive charts of time series data.
↳ Write GitHub Actions workflows in JS.
↳ Browser automation framework.
↳ Serverlessly call JS functions on AWS Lambda & Google Cloud Functions.
↳ Testing framework for anything in a browser.
↳ Extend D3.js with more visualization types.
Developer Relations Manager — Join the CKEditor team to build community around an Open Source project used by millions of users around the world ?
Senior Full-Stack Engineer – React + TypeScript — Come help Qwire modernize how studios, composers, artists, publishers, labels, and the rest of the industry manage music rights.