Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    N

    Node.js Collection

    medium.com/the-node-js-collection · Company blog · on HN since 2017

    A Medium publication run by the Node.js project community, with posts on Node releases, ES modules, and JavaScript tooling.

    Visit blogHN submissions
    Web DevelopmentProgramming
    What HN says

    HN commenters repeatedly recommend "Modern JavaScript Explained for Dinosaurs" as a clear explanation of why modern frontend tooling is so complicated.

    Stats for nerds
    55HN people shared it
    43linked in comments
    237story points
    Jul 2020last shared
    2017people per year2020

    Top posts on HN

    1. 1
      Modern JavaScript Explained for Dinosaurs
      14 people · 99 points · first shared 2018 · 36 comments on HN
    2. 2
      Node.js 8.0.0 has been delayed and will ship on or around May 30th
      4 people · 63 points · first shared 2017 · 7 comments on HN
    3. 3
      An Update on ES6 Modules in Node.js
      5 people · 9 points · first shared 2017 · Discussion on HN
    4. 4
      Show HN: Rethinking JavaScript Test Coverage
      1 person · 8 points · first shared 2018 · 1 comments on HN
    5. 5
      Node.js 17
      2 people · 6 points · first shared 2021 · Discussion on HN
    6. 6
      Modernizing Node.js with Idiomatic JavaScript – Node.js Collection – Medium
      3 people · 5 points · first shared 2018 · Discussion on HN
    7. 7
      Why the Hell Would You Use Node.js
      2 people · 5 points · first shared 2019 · Discussion on HN
    8. 8
      Node.js Errors Changes You Need to Know About
      1 person · 5 points · first shared 2017 · Discussion on HN
    9. 9
      Say Hello to HTTP/2 for Node.js Core
      1 person · 4 points · first shared 2017 · Discussion on HN
    10. 10
      Debugging Node.js with Google Chrome
      1 person · 4 points · first shared 2017 · Discussion on HN

    What HN people wrote when they linked it

    • danShumwayJan 2019

      Because https://medium.com/the-node-js-collection/keeping-the-node-js-core-small-137f83d18152

      Note that Node is actually in a much better position than Javascript as a whole, because Node apps can be shipped with a specific version of Node. This means that the Node team actually has more power than web browsers to deprecate old features and remove parts of the library, as long as they do so carefully. It is much harder to make breaking changes in a browser than it is to make them in Node.

      One middle ground I've seen people suggest is to have officially "blessed" external libraries that still need to be imported, but that are cached locally or have special privileges. For example, JQuery was at one point so common that the Firefox dev tools actually ship with a subset of the JQuery API enabled -- just so devs that are used to working with it can use it in the debugger on any site.

      I look at JQuery as a massive success story for how 3rd-party extensions should work. It was extremely ubiquitous, it did influence the core language, but now we've grown and because it was kept separate, we're still free to abandon it and move on.

      On the Node side maybe that means that Node ships with dependencies that still need to be added to your package.json, but that are always bundled in your installation so that you have them locally and don't need to hit a network request when you type `npm install X`.

      Also on the Node side we have modules that are built by the core team, but just not…

    • acemarkeDec 2017

      Yes, it does make a difference, in a few ways.

      AMD modules can effectively only be consumed by a browser, or a browser-focused bundling tool, since AMD was designed for the "cascading waterfall" loading approach. Anecdotally, I see no new libraries being written in AMD format, and some that are written in AMD are looking at transitioning to ES6 modules.

      CommonJS modules are intended for synchronous loading under Node, and tools like Webpack and Browserify can wrap them up to be used in a browser.

      ES6 modules are designed to be statically analyzable, which is a key factor in "tree shaking" to drop unused code out of a generated bundle. However, the ES6 spec only defined the syntax for modules, not how they should be loaded. Major browsers have finally implemented native support for ES6 modules, but there's still a lot of complexity around how they're going to be implemented in Node [0].

      There's also complexity around how lib authors publish packages to NPM. The most compatible approach is to author lib code as ES6 modules and whatever syntax additions you want, then compile it to CommonJS and ES5 before publishing. However, that loses out on any possible benefits from tree shaking. See this Twitter thread with discussion from Dan Abramov [1].

      For more info on the history and differences between various JS module formats, see the "Javascript Module Formats" section of my React/Redux links list [2].

      [0]…

    • pixelmonkeyAug 2019

      I'm the original author of the post. A friend who reviewed a draft of it asked me the same question. I had the following recommendations:

      1. Solid recorded talk (on YouTube) on using npm run-script to automate local builds: https://www.youtube.com/watch?v=0RYETb9YVrk

      2. Modern JavaScript Explained for Dinosaurs: https://medium.com/the-node-js-collection/modern-javascript-explained-for-dinosaurs-f695e9747b70 -- this is a long post that goes into technical depth on the stuff that I covered at a high level in my post

      3. Webpack -- The Confusing Parts: https://medium.com/@rajaraodv/webpack-the-confusing-parts-58712f8fcad9 -- long post that goes into depth on Webpack, in particular.

      Aside from all of these, the book I have found the most helpful if you want to zoom straight ahead to React is "Road to React": https://leanpub.com/the-road-to-learn-react

      It's 200 pages, oriented around real code, and straightforward.

    • __sAug 2017

      They link https://medium.com/the-node-js-collection/get-ready-a-new-v8-is-coming-node-js-performance-is-changing-46a63d6da4de

      I'm mostly glad it'll come with an updated WebAssembly, hopefully fixing this bug: https://bugs.chromium.org/p/v8/issues/detail?id=6204 which blocks Luwa from working in node (handwritten wasm has a tendency to run into things emscripten would not.. I expect the same vice versa)

      Will also enjoy not having to use a TextEncoder/TextDecoder shim. Kind of weird that they went full out with Unicode there, last I recall browsers were moving towards only supporting utf8

    • smacktowardJan 2019

      As a fellow old-schooler who's been getting back into JS myself, I've come across a couple of these types of resources that I found particlarly helpful. Here's the links:

      - "Modern JavaScript Explained for Dinosaurs," by Peter Jang: https://medium.com/the-node-js-collection/modern-javascript-explained-for-dinosaurs-f695e9747b70

      - "Modern JavaScript for Ancient Web Developers," by Gina Trapani: https://postlight.com/trackchanges/modern-javascript-for-ancient-web-developers

      (Don't let the "ancient"/"dinosaur" stuff scare you off -- they kid because they love.)

      Hope this helps!

    • joaodlfFeb 2018

      Excellent! This is from the same author as "Modern JavaScript Explained For Dinosaurs"[1], that article got me much more closer to understanding the insane world of modern frontend development, I would recommend it to any other "dinosaurs" like me.

      I'm very excited about modern CSS, I grew up in the crazy world of floats and the transition to responsive, new concepts like flexbox and grid are much more sensible approaches to layout design.

      [1]https://medium.com/the-node-js-collection/modern-javascript-explained-for-dinosaurs-f695e9747b70

    Related

    Node.js Blogmedium.com/@nodejs46 people

    Node.js 8 Moves into Long-Term Support, Node.js 9 Becomes Current Release Line

    Node.js Blog
    Company · last shared 2020
    Chrome Developers Blogmedium.com/dev-channel55 people

    The Cost of JavaScript

    Chrome Developers Blog
    Company · last shared 2024
    2ality2ality.com267 people

    Temporal: Getting started with JavaScript's new date time API

    2ality
    Personal · last shared 2026
    V8 Blogv8.dev272 people

    The cost of parsing JSON

    V8 Blog
    Company · last shared 2026
    Next.js Blognextjs.org271 people

    Next.js 12

    Next.js Blog
    Company · last shared 2026
    DailyJSdailyjs.com112 people

    Backbone.js: Hacker's Guide

    DailyJS
    Publication · last shared 2017
    SurviveJSsurvivejs.com35 people

    Interview with the author of React-like Inferno about JavaScript optimisations

    SurviveJS
    Personal · last shared 2023
    Webpack Blogmedium.com/webpack58 people

    Webpack 2.2 – Release Candidate

    Webpack Blog
    Company · last shared 2019