đșđŠ #â580 â March 11, 2022 |
Unsubscribe  |  Read on the Web |
đ€Š Thanks to all readers who noticed we made a mistake with last week's subject line "TypeScript 2.6 released" â rather than the intended 4.6. We were only 4 years late with that news ;-) Rest assured, more caffeine has been consumed today.. |
JavaScript Weekly |
Credit: Daniel Rosenwasser
An ECMAScript Proposal for Type Annotations in JavaScript (That Are Ignored at Runtime) â A huge amount of chatter this week over an interesting proposal to support type annotations directly in standard JavaScript code that are available for external type checkers to use but which are otherwise ignored at runtime. TypeScriptâs Daniel Rosenwasser has written a lot more about the approach here. Dr. Axel has also written up his thoughts. Whatever the case, people seem pretty excited for the potential and Allen Wirfs-Brock has said "if I was still active on TC39 Iâd be advocating for this proposal." Tayar, Rosenwasser, Cintra, Palmer, et al. |
Wallaby.js: 15x Faster JavaScript/Jest Testing and Debugging â Wallaby runs your tests immediately as you type, with runtime values, errors and code coverage displayed in real-time right next to your code. Features have been designed specifically for testing, including: time-travel debugging, edit-and-continue support, and much more. Wallaby.js sponsor |
React 18 Release Candidate Released â The full production release of React 18 is seemingly imminent: just out, the detailed documentation covering the upgrade to this weekâs release candidate. The post also includes useful information about some of the major new features. Rick Hanlon and React Core Team |
𩠠Twitter Thread on Stripe Converting from Flow to TypeScript â And it took just one weekend: âWe modified about 3.5 million lines of code, and then hundreds of developers came in Monday morning ready to write TS.â Andrew Lunny on Twitter |
WebGPU â All of the Cores, None of the Canvas â Itâs always a pleasure to see Surma dig into something (especially Web Workers) and this time he turns to making the potential of WebGPU (an API that exposes the capabilities of GPU hardware that, admittedly, isn't available by default in any standard browser yet) more accessible to us all. Surma |
IN BRIEF:
RELEASES: Partytown 0.5.0 â Moves scripts into Web Workers for perf. |
|
đ Articles & Tutorials |
Naming Conflicts â or How Existing Code Can Force Proposed Features to Be Renamed â Phil Karlton once said âcache invalidation and naming thingsâ were the two hardest things in computer science, and JavaScript has had its fair share of trouble around the latter. Dr. Axel Rauschmayer |
A Lightweight GitHub REST API in 34 Lines of Code â The power of ES proxies strikes again. Not a tutorial, but you might learn something from the code. David Wells |
Project Management for Today's (And Tomorrow's) Software Team â We bring the flow to your software team's workflow. Plan, collaborate, build, and measure success with Shortcut. Shortcut (formerly Clubhouse.io) sponsor |
Building Serverless Multi-Region WebSocket APIs on AWS â A look at an interesting (and very AWS-y!) architecture for a global real-time chat app by using WebSockets and cross-region communications behind the scenes. Freiberg and Ziller (AWS) |
My Experience Building a Chess App in React â The author describes himself as a self-taught, relative newcomer to React development. As a result, he describes his approach to this well-defined problem in terms that those at a similar point in the learning curve will find easy to understand. Fred Litt |
Creating Native Web Components â Looks at how to create native web components using the Minze JavaScript framework. Sergej Samsonenko |
The Tools that Developers Needâand Don't Needâto Build Great Chatbots Botpress Technologies, Inc. sponsor |
How to Build a File Upload Service with Vanilla JavaScript
|
A Complete Guide to TypeScriptâs |
Making a Discord Playlist Bot with Serverless Cloud
|
đ Â Code & Tools |
LemonadeJS V2: A Reactive JavaScript Library with Zero Transpiling Needed â Simple, straightforward reactivity anywhere with as little tooling surrounding it as possible. LemonadeJS Team |
striff: Real Simple String Diffing â Given two strings, you can find out which characters were added or removed, and where. Alex MacArthur |
PSD: A Zero-Dependency PSD (Photoshop) Parser â Will parse info for each layer including text and also supports Photoshopâs .PSB (big image) format. GitHub repo. webtoon |
Studio 3T Manages Your Data, While You Wrestle Your App into Shape â Studio 3T's full suite of MongoDB tools lets you develop with data even faster and turn queries into code. Studio 3T sponsor |
Tygo: Generate TypeScript Types from Go(lang) Source Code â Letâs say youâre building an app with Go on the backend and TypeScript on the frontend. This tool scans your Go-based API and creates the relevant TypeScript types for you. Guido Zuidhof |
Reason: Write Fast, Type Safe Code in OCaml, But for the JS Ecosystem â You essentially get to write OCaml but compile to JavaScript. |
Ultra: A Modern Streaming React Framework for Deno â Built around native browser features like ES modules, import maps, and web streams. The source of the projectâs own Ultra-powered homepage may help you weigh up if you like its cutting edge approach or not. Omar Mashaal et al. |
đźÂ And for some fun.. |
micropolisJS: A JavaScript Clone of a SimCity-Like Game â I didnât get on to the SimCity train until SimCity 2000, but if you liked the vibe of the earlier 1989 version of SimCity, this might be a reasonable way to fritter away some time. Graeme McCutcheon |