There were several items on the agenda, this post focuses on feature proposals and their progress from the 97th TC39 meeting [Jul 11 - Jul 13 of 2023].
Stage 3:
Array Grouping: A proposal to make grouping of array items easier.
Promise.withResolvers: Creates a Promise with the reject,resolveandpromise functions placed as methods
on the promise object itself.Source Phase Imports: Proposal to enable importing modules at the source phase.
Time Zone Canonicalization: Stacked on Temporal to improve handling of changes to the IANA Time Zone Database.
Stage 2:
- Deferred Import Evaluation:a way to defer evaluate of a module (previously known as "Lazy Module Initialization").
Stage 1:
DataView get/set Uint8Clamped methods:
getUint8Clamped
andsetUint8Clamped
onDataView.prototype
.Optional Chaining assignment: add support for optional chaining on the left of assignment operators:
a?.b = c
.
Top comments (1)
The link to the Deferred Import Evaluation ain't working.
Will leave it here until the post is updated
github.com/tc39/proposal-defer-imp...
The deferred evaluation is something I've been looking forward to for the past period. I see a lot of use cases in the micro-frontends area, especially combined with the Vite's Module Federation plugin <3