proposal-temporal
proposal-bind-operator
Our great sponsors
proposal-temporal | proposal-bind-operator | |
---|---|---|
89 | 8 | |
3,120 | 1,738 | |
2.6% | 0.2% | |
9.4 | 0.0 | |
2 days ago | about 6 years ago | |
HTML | ||
GNU General Public License v3.0 or later | - |
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-temporal
- Handling Hindu Lunisidereal Calendars
- Replacing Date with Temporal – ECMAScript Stage 3 Proposal
- Temporal, a modern date/time API for ECMAScript
- Temporal proposal reaches stage 4
-
Show HN: Trigger.dev V2 – a Temporal alternative for TypeScript devs
In the TypeScript/JavaScript world the only thing called "Temporal" that I was aware of is the Stage 3 proposal for an excellent new date and time module:
-
Updates from the 97th TC39 meeting
Time Zone Canonicalization: Stacked on Temporal to improve handling of changes to the IANA Time Zone Database.
- IAMA senior javascript dev, ask me anything
-
What library do you use to handle dates?
Roll-on Temporal!
There is a list of polyfills at the bottom of the page that can be used in production. https://github.com/tc39/proposal-temporal
-
Literally
TemporalJS is in stage 3 (of 4) of being pulled into the JavaScript standard lib. It really can't come soon enough...
proposal-bind-operator
-
Pipe Operator (|>) For JavaScript
There was also a different proposal that allows objects to be extended: https://github.com/tc39/proposal-bind-operator
Personally, I don't use classes much, but sometimes I think free functions a little bit hard to find, so I tend to experiment with the following pattern.
interface User { … }
const User = {
- Why Would Anyone Need JavaScript Generator Functions?
-
JavaScript Evolutsiyasi Qisqa Satrlarda!
Yangi bind operatori Function.prototype.bind ni yanada elegant tarzda ishlatish imkonini beruvchi yangi sintaksis
-
JavaScript tutorials
In modern JS, you can export each function directly without putting them in an object. It also allows you to call a function with a specific “this” value, function.bind(object)(args). As a matter of fact, there’s a syntax proposal proposal and to do exactly this, object::function(args). This proposal could make what you describe pretty popular.
-
Can't wrap my head around a thing about modules
Hey, not yet ;)
-
10+ Interesting ECMAScript Proposals
This binding syntax (::)
-
I've used the pipe() function 2,560 times and I can tell you it's good!
You'd need 4 periods.
-
[AskJS] Sensible Prototype Extensions?
I don't think you want realms so much as protocols or extensions, the latter assimilating the beloved bind operator.
What are some alternatives?
moment - Parse, validate, manipulate, and display dates in javascript.
proposal-generator-arrow-functions - ECMAScript proposal: Generator Arrow Functions
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
proposal-pipeline-operator - A proposal for adding a useful pipe operator to JavaScript.
Luxon - ⏱ A library for working with dates and times in JS
proposal-relative-indexing-method - A TC39 proposal to add an .at() method to all the basic indexable classes (Array, String, TypedArray)
date-fns - ⏳ Modern JavaScript date utility library ⌛️
proposal-observable - Observables for ECMAScript
You-Dont-Need-Momentjs - List of functions which you can use to replace moment.js + ESLint Plugin
proposal-as-patterns - `as` destructuring patterns
sdk-typescript - Temporal TypeScript SDK
proposal-partial-application - Proposal to add partial application to ECMAScript