How to use the new Temporal API
Working with JavaScript Date has always been a struggle. Libraries like moment (18kB gzipped), day.js (3kB gzipped) and luxon (23kB gzipped) filled the gap by giving a more developer friendly API, but they take up more network bandwidth, add dependencies and increase build times. That’s where Temporal comes in. Browsers have been working hard to implement Temporal with the TC39 Stage 3 draft specification so we hope to see it fairly soon....