Replacing Date with Temporal
JavaScript's Date was copied from Java in 1995, and even Java replaced its version long ago. We've all worked around it with Moment, date-fns, Luxon or Day. js.
7 posts with this tag. All tags
JavaScript's Date was copied from Java in 1995, and even Java replaced its version long ago. We've all worked around it with Moment, date-fns, Luxon or Day. js.
Node is great at waiting: on databases, on APIs, on files. It's bad at computing on the main thread, because while it computes, it can't do anything else.
This month, Node 24.12 and 25.2 marked type stripping as stable. That means you can run a .ts file with plain node, no flag, no ts-node, no build step:
Express 5 has been 'coming soon' for about ten years. In September it finally shipped as 5. 0. 0. The good news is that most apps need only small changes.
Streams are how Node handles data that's too big to hold in memory at once: big files, CSV exports, uploads, proxied responses.
With Node 18, fetch is finally global on the server as well as in every browser. (Node still prints an 'experimental' warning the first time you use it.
Most explanations of the event loop stop at 'Node is single-threaded and non-blocking'.