proposal-weakrefs
WeakRefs (by tc39)
proposal-promise-any
ECMAScript proposal: Promise.any (by tc39)
proposal-weakrefs | proposal-promise-any | |
---|---|---|
8 | 4 | |
392 | 192 | |
- | - | |
2.1 | 3.7 | |
over 2 years ago | over 3 years ago | |
HTML | HTML | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of proposal-weakrefs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-08.
- 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-promise-any
Posts with mentions or reviews of proposal-promise-any.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-08.
- New features in ES2021
-
ES2021 Features! 🔥
Promise.any and AggregateError
-
New ES2021 JavaScript features (now available)
📙 Proposal
-
Upcoming JavaScript Features in 2021
More info: TC39 proposal, V8, MDN
What are some alternatives?
When comparing proposal-weakrefs and proposal-promise-any you can also consider the following projects:
proposals - Tracking ECMAScript Proposals
proposal-string-replaceall - ECMAScript proposal: String.prototype.replaceAll
proposal-regexp-match-indices - ECMAScript RegExp Match Indices
proposal-numeric-separator - A proposal to add numeric literal separators in JavaScript.
proposal-relative-indexing-method - A TC39 proposal to add an .at() method to all the basic indexable classes (Array, String, TypedArray)
proposal-logical-assignment - A proposal to combine Logical Operators and Assignment Expressions
proposal-intl-DateTimeFormat-formatRange - ECMA 402 proposal for DateTimeFormat.prototype.{formatRange,formatRangeToParts}
babel-sublime - Syntax definitions for ES6 JavaScript with React JSX extensions.
proposal-weakrefs vs proposals
proposal-promise-any vs proposal-string-replaceall
proposal-weakrefs vs proposal-regexp-match-indices
proposal-promise-any vs proposal-numeric-separator
proposal-weakrefs vs proposal-relative-indexing-method
proposal-promise-any vs proposal-logical-assignment
proposal-weakrefs vs proposal-intl-DateTimeFormat-formatRange
proposal-promise-any vs babel-sublime