JavaScript

How To Create Reusable Blocks of Code with Vue Single-File Components — step-by-step Javascript tutorial on Progressive Robot

How To Create Reusable Blocks of Code with Vue Single-File Components

When creating a web application using Vue.js, it’s a best practice to construct your application in small, modular blocks of code. You can gain this modularity with Single-File Components. In this tutorial, you are going to create a SFC and use props to pass data down and slots to inject content between tags. By the end of this tutorial, you will have a general understanding of what SFCs are and how to approach code re-usability.

Read more
How To Debug Node.js with the Built-In Debugger and Chrome DevTools — step-by-step Javascript tutorial on Progressive Robot

How To Debug Node.js with the Built-In Debugger and Chrome DevTools

In this article, you will use a debugger to debug some sample Node.js applications. You will first debug code using the built-in Node.js debugger tool, setting up watchers and breakpoints so you can find the root cause of a bug. You will then use Google Chrome DevTools as a Graphical User Interface (GUI) alternative to the command line Node.js debugger.

Read more
How To Handle Asynchronous Tasks with Node.js and BullMQ — step-by-step Databases tutorial on Progressive Robot

How To Handle Asynchronous Tasks with Node.js and BullMQ

To avoid slowing down the request/response circle, you can use bullmq, a distributed task queue that allows you to offload time-consuming tasks from your Node.js app. To keep track of jobs, bullmq uses Redis to store a short description of each job in a queue. In this article, you will use bullmq to offload a time-consuming task into the background, which will enable an application to respond quickly to users.

Read more
Comment indexer, diviser et manipuler des chaînes en JavaScript — step-by-step Javascript tutorial on Progressive Robot

Comment indexer, diviser et manipuler des chaînes en JavaScript

Au cours de ce tutoriel, nous allons apprendre à faire la différence entre les primitifs de chaînes et l’objet de chaîne. Ensuite, nous verrons de quelle manière les chaînes sont indexées et comment accéder aux caractères d’une chaîne. Pour finir, nous aborderons les propriétés et les méthodes couramment utilisées sur les chaînes de caractères.

Read more
Cara Menginstal Node.js pada Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

Cara Menginstal Node.js pada Ubuntu 20.04

Dalam panduan ini, kami akan menunjukkan kepada Anda tiga cara berbeda menginstal Node.js pada server Ubuntu 20.04: menggunakan apt untuk menginstal paket nodejs dari repositori perangkat lunak asali Ubuntu, menggunakan apt dengan repositori perangkat lunak PPA alternatif untuk menginstal versi spesifik dari paket nodejs, dan menginstal Node Version Manager serta menggunakannya untuk menginstal dan mengelola berbagai versi Node.js

Read more
How To Make Netflix-Like Swipers in Vue — step-by-step Javascript tutorial on Progressive Robot

How To Make Netflix-Like Swipers in Vue

If you have been building for the web for a little while, you would have like me encountered at least some issues when making swipers – for some reason, they always seem to have a mind of their own for a while and they come around. It’s either, the swipe

Read more
CHAT