JavaScript

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
How To Share State Across React Components with Context — step-by-step Javascript tutorial on Progressive Robot

How To Share State Across React Components with Context

In this tutorial, you’ll share state across multiple components using React context. React context is an interface for sharing information with other components without explicitly passing the data as props. This means that you can share information between a parent component and a deeply nested child component, or store site-wide data in a single place and access them anywhere in the application. To illustrate this, this tutorial will create a website where users can build custom salads.

Read more
How To Use Built-In and Custom Directives in Vue.js — step-by-step Javascript tutorial on Progressive Robot

How To Use Built-In and Custom Directives in Vue.js

As a front-end framework, Vue.js borrows the prop-driven approach of React, but also uses directives, which were made popular by Angular. In this context, directives are reusable chunks of code or logic that allow you to manipulate your HTML in many different ways, such as conditionally rendering an element, connecting events to an element, or creating dynamic attributes that depend on your Vue code. This tutorial will cover v-if, v-show, v-on, v-bind, v-model, v-html, and custom directives.

Read more
Cara Menggunakan Font Awesome 5 dengan React — step-by-step Javascript tutorial on Progressive Robot

Cara Menggunakan Font Awesome 5 dengan React

Font Awesome adalah kit alat untuk situs web yang menyediakan ikon dan logo sosial. React adalah pustaka pengodean yang menggunakan JavaScript untuk membuat antarmuka pengguna. Walaupun tim Font Awesome telah membuat komponen React untuk mendorong integrasi, ada beberapa hal mendasar yang harus dipahami tentang Font Awesome 5 dan strukturnya. Dalam tutorial ini, Anda akan mempelajari cara menggunakan komponen React dari Font Awesome.

Read more
How To Use Server-Side Rendering with Nuxt.js — step-by-step Javascript tutorial on Progressive Robot

How To Use Server-Side Rendering with Nuxt.js

Nuxt.js is a framework for Vue.js applications that can solve this problem with server-side rendering, a strategy that renders the application on the server then sends it to the client. In this tutorial, you will use Nuxt.js to generate page routes, create layout components, and set page-specific metadata for an example application.

Read more
CHAT