proposal-weakrefs
proposal-intl-DateTimeFormat-formatRange
proposal-weakrefs | proposal-intl-DateTimeFormat-formatRange | |
---|---|---|
8 | 2 | |
392 | 27 | |
- | - | |
2.1 | 0.5 | |
over 2 years ago | about 3 years ago | |
HTML | HTML | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
proposal-weakrefs
- New features in ES2021
-
Javascript ES2021 Summary
The WeakRef Proposal has some examples.
-
ES2021 Features! 🔥
WeakRefs and FinalizationRegistry Objects
-
New ES2021 JavaScript features (now available)
But if you're interested, feel free to read more in the original proposal.
-
New JavaScript Features ECMAScript 2021 (with examples)
For that reason, use WeakRef is not recommended and it’s best to avoid implementing one if possible. Unless you’re a JavaScript library maintainer, you will most likely never need to use it. More information WeakRefs TC39 proposal
-
Upcoming JavaScript Features in 2021
Weak references (WeakRef and FinalizationRegistry)
-
Upcoming Interesting JavaScript ES2021 (ES12) Features to Look for
One important thing about WeakRef and finalizers. The proposal for this feature itself advises not to use them. One reason is that they can be unpredictable. Another one is that they don't really help garbage collection do its job. They can actually make it job harder. You can read more about the reasons in the proposal.
-
ES 2021 features (all 5 of them)
Also not shown but a part of the WeakRefs proposal is FinalizationRegistry. Example:
proposal-intl-DateTimeFormat-formatRange
-
Updates from 80th TC39 meeting
Intl.DateFormat.prototype.formatRange Add formatRange(date1, date2) and formatRangeToParts(date1, date2) to Intl.DateTimeFormat to enable date range formatting.
-
ES 2021 features (all 5 of them)
intl.DateTimeFormat.formatRange
What are some alternatives?
proposals - Tracking ECMAScript Proposals
proposal-private-fields-in-in - EcmaScript proposal to provide brand checks without exceptions
proposal-regexp-match-indices - ECMAScript RegExp Match Indices
proposal-intl-locale-info - An API to expose information of locale, such as week data ( first day of a week, weekend start, weekend end), hour cycle, measurement system, commonly used calendar, etc.
proposal-relative-indexing-method - A TC39 proposal to add an .at() method to all the basic indexable classes (Array, String, TypedArray)
proposal-promise-any - ECMAScript proposal: Promise.any
RegExp.escape - Proposal for investigating RegExp escaping for the ECMAScript standard
proposal-intl-eradisplay - Intl.DateTimeFormat displays era field only if date displayed is in same era as today's
V8 - The official mirror of the V8 Git repository
proposal-class-brand-check - JavaScript proposal to provide class brand checks
proposal-json-modules - Proposal to import JSON files as modules