Extractors for ECMAScript

September 23, 2022 By Mark Otto Off

A Proposed JS Feature: Extractor Objects โ€” Entering stage one at the latest TC39 meeting is a proposal for being able to define your own logic (such as data validation or transformation) to run as part of the object destructuring process. A proposal worth reviewing.

Ecma TC39 / Ron Buckton

Hello World. Caching. Globally. Simplified. โ€” PolyScale connects to your current database and executes your queries at the edge, for low global latency. Plug-and-play with Postgres, MySQL, MariaDB, MS SQL. PS: we also invalidate automatically ๐Ÿ˜‰

PolyScale.ai

RELEASES:

Glide 3.6 โ€“ Dependency-free slider and carousel control.
React Calendar 3.9 โ€“ Powerful calendar component.
Qwik 0.9 โ€“ The low-JS HTML-first framework.
Electron 20.2

๐Ÿ“’ Articles & Tutorials

Type-Level TypeScript: The Basics โ€” A beautifully presented guide to types, complete with challenges to solve. While 11 ‘chapters’ are promised to take you โ€˜from intermediate to advancedโ€™, only the first two are currently available. They cover the fundamentals of what types of types TypeScript makes available to us.

Gabriel Vergnaud

Rest vs Spread Syntax: ... vs ... โ€” Quick: whatโ€™s the difference between ... and ...? Trick question. While they look the same, two different things can be represented by them.

Amit Merchant

๐Ÿ›  Code & Tools

Japa: An Alternative Testing Framework for Node โ€” Coming from the same team as AdonisJS (a Node.js web framework), Japa slides into your existing workflows with no build tool requirements. You get first-class support for OpenAPI schema driven testing of endpoints, dataset driven tests, and a VS Code extension.

AdonisJS Team

โšก๏ธ OTHER QUICK RELEASES:

  • ws 8.9
    โ†ณ Simple & fast WebSocket client and server for Node.js.

  • Semgrep 0.114
    โ†ณ Multi-language static analysis tool. Think grep for syntax.

  • Flat 6.0 โ€“ Flatten/unflatten nested objects.

  • React Joyride 2.5.3 โ€“ Create guided tours for apps.

  • Mantine 5.4 โ€“ Extensive React component library.

Senior UI Dev โ€” Join us and innovate with MicroFrontends, custom Node tools, build systems (Webpack/GitHub Actions), TypeScript, React, and more with a11y and DX in mind.
Vertex Inc

Find JavaScript Jobs with Hired โ€” Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
Hired

๐Ÿš— Fancy a late night drive?

In Nightdrive, James Stanley gives us both a visual experience of driving at night and an explanation of how it works. It’s a simple idea put to good effect, though if you want something more intense, try Rezmason’s Drivy.. ๐Ÿ˜

While we’re having some fun down here: over on Twitter, Nils Eriksson decided to get crafty and ๐Ÿฆ implemented Tic-Tac-Toe in TypeScript types (known as ‘noughts and crosses’ in my kingdom) and wrote an extensive blog post about it. XOX.

Till next week!
โ€“ Peter Cooper, your editor.