#Javascript

Recent posts

  1. Well written article on AbortController superpowers.

    If you are creating libraries in JavaScript where aborting or cancelling operations makes sense, I highly encourage you to look no further than the AbortController API. It’s incredible! And if you are building applications, you can utilize the abort controller to a great effect when you need to cancel requests, remove event listeners, …

    Show more
    16:43 (+0100)
  2. Most developers when using HTML inputs with type="number" assume the input value will be a number, and get confused when the value is a string instead. This is because the type=“number” actually tells the browser that the input is used for numbers and to provide a number input UI with included built-in validation to reject non-numerical entries.

    Now to get the number almost …

    Show more
    10:02 (+0200)
    Cavallino-Treporti, Italy
    16°C
  3. Speeding up static websites with PJAX

    How to improve the performances and enhance the user's experience of static websites (Hugo, Jekyll..) using the PJAX technique.

    With the fast-growing trend of static websites, many people are moving their blogs from WordPress, Medium, etc, to static websites built with Hugo or Jekyll. And there is a good reason for that. One of the reasons is security, cutting down server costs, ease of maintenance, performances, and many others. But in this article, I would like to focus on performances.

    As everybody knows, static …

    Show more
    16:27 (+0200)