Daily JS

  • Async loops, and why they fail! Part 4Async loops, and why they fail! Part 4
    A couple more problems with async calls and loops; how to handle searching.Photo by Ronald Smeets on UnsplashIn the previous articles in this series (Part 1, Part 2, and Part 3) we looked at problems with functions such as forEach(), map() or every() when used with async functions or promises, and… Read more »
  • Async loops, and why they fail! Part 3Async loops,  and why they fail! Part 3
    Async loops, and why they fail! Part 3Yet more problems with async calls and loops in JavaScript: how to handle testing for some and every.Photo by Virginia Johnson on UnsplashAs we saw in the previous articles in this series (Part 1, Part 2) JavaScript’s standard higher order functions such as map() or forEach()… Read more »
  • 13 JavaScript One-Liners That’ll Make You Look Like a Pro13 JavaScript One-Liners That’ll Make You Look Like a Pro
    In just a few minutes, step up your JS knowledge.Continue reading on DailyJS » Read more »
  • Async loops — and why they fail! Part 2Async loops — and why they fail! Part 2
    Async loops, and why they fail! Part 2More problems with async calls and loops in JavaScript; how to handle mapping and filtering.Photo by Tine Ivanič on UnsplashIn the first article in this series, “Async loops, and why they fail! — Part 1”, we saw that using common higher order functions like forEach() or reduce()… Read more »
  • Node.js Postgresql tutorial: Build a simple REST API with ExpressNode.js Postgresql tutorial: Build a simple REST API with Express
    A step-by-step guide from start to finishContinue reading on DailyJS » Read more »
  • Async loops — and why they fail! Part 1Async loops — and why they fail! Part 1
    Async loops, and why they fail! Part 1Mixing loops with async calls in JavaScript produces unexpected results; how to handle looping and reducing.Higher order functions such as forEach(), reduce(), map(), and filter() are commonly used in JavaScript programming, but if you mix them up with async calls or promises, results probably… Read more »
  • What Are React Server Components?What Are React Server Components?
    At the end of 2020 the React team shared with us their upcoming feature, called React Server Components. This feature is still in research…Continue reading on DailyJS » Read more »
  • The 7 JS Array Methods you will need in 2021The 7 JS Array Methods you will need in 2021
    Get a great start off your year learning these useful methodsContinue reading on DailyJS » Read more »
  • A React’s Cookbook: How to write reusable componentsA React’s Cookbook: How to write reusable components
    This article will show you how you can create more reusable and reable components in React sticking to just a few simple rules. I believe…Continue reading on DailyJS » Read more »
  • How to use Docker with Node.js a step-by-step tutorial (including docker-compose)How to use Docker with Node.js a step-by-step tutorial (including docker-compose)
    Both Docker and Node.js have risen in popularity in the past 5 years. Running Node.js on docker containers with docker-compose for local…Continue reading on DailyJS » Read more »