Tag: JS

Parcel web bundler pros and cons
JS

Parcel web bundler pros and cons

Recently I've been using Parcel (https://parceljs.org/) for some small web apps I'm developing in my free time. Parcel is a modern javascript bundler that is used to package a JS app into a single, or multiple files. We could argue that the state of

davide
Client side routing explained
javascript

Client side routing explained

Client side routing explained React router is the defacto standard for client side routing in React SPA application. To understand how React router works ( and other type of client side routing libraries), first, we need to understand how client side router works. Server side routing On a server side web

davide
javascript

ASCIICAM

Simple webapp that turns your webcam into ASCII art. code is available on github at https://github.com/david1983/ascii_cam I've done this in 2015 when I realised that I did not know JS enough ... so it is done in vanilla JS, without any libraries and using

davide
First react app
javascript

First react app

So it's been two days that I'm trying to figure out how React works and how to use it for my projects. I have to admit that I don't like React and I prefer to work with frameworks like Angular or Ember. I know

davide
Control flow with promises
javascript

Control flow with promises

Promises are very powerful and allow us to create really complex asynchronous data flows. When we want to execute tasks at the same time we can use Promise.all(), but if we want to execute tasks one after the other, we need to use a different solution. Here is an

davide