ES.nextNews: the latest in JavaScript and cross-platform tools
Curated by Dr. Axel Rauschmayer and Johannes Weber. News

The latest in JavaScript and cross-platform tools

Updates from TC39 meeting in June 2022
Stage changes for ECMAScript proposals:
  • Stage 4: Array find from last
  • Stage 3: Symbols as WeakMap keys
  • Stage 2: String.dedent, Duplicate named capture groups, JSON.parse() source text access
  • Stage 1: Faster Promise adoption, RegExp Atomic Operators
Additionally, the proposed Array methods .groupBy() and .groupByToMap() were renamed to .group() and .groupToMap().

Rome Tools 0.6.0
New in this version:
  • Formatter: output looks more like Prettier’s, performance improved by 20%–30%
  • Linter: a foundation and a few first rules now exist

Build internal tools 10x faster with Retool Sponsor
Retool is a new approach to building internal apps: we’ve unified the ease of visual programming with the power and flexibility of real code. Drag and drop a form together, and have it POST back to your API in minutes. Deploy instantly with access controls and audit logs.

AbortController is your friend [aborting asynchronous tasks in JavaScript]
The AbortController API enables us to abort tasks that run asynchronously. This blog post gives tips for using this API:
  • The difference between controllers and signals
  • Using an AbortController to abort a fetch() request
  • Adding AbortController support to legacy APIs
  • Automatically removing event handlers via signals
  • Using the AbortController API for your own classes
  • Aborting useEffect() callbacks
  • Three static helper methods:
    • AbortSignal.timeout(ms)
    • AbortSignal.any(signals)
    • AbortSignal.throwIfAborted()

qnm: CLI utility for querying the node_modules directory
  • Interactive fuzzy-search
  • Match all packages with a specific string
  • Explain why a package was installed
  • Supports monorepos
  • Show when a version was released and what the latest version is

Looking for deeply qualified employees or customers? Advertise on News! News reaches over 14,000 highly skilled and motivated developers. We take their trust seriously and have high editorial standards.
Check out our media data and get directly in touch with us.
Follow on Twitter

This email was sent to {{ email | default }}. Want to change how you receive these emails?
You can unsubscribe from this list