JavaScript

How to Use Python Virtual Environments on Ubuntu 24.04 — step-by-step Linux tutorial on Progressive Robot

How to Install Node.js 20 LTS on Ubuntu 24.04

Node.js 20 is the current Long-Term Support (LTS) release, offering improved performance, the experimental Permissions Model, and a stable test runner. This guide installs Node.js 20 LTS on Ubuntu 24.04 LTS using the official NodeSource repository. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server A user with sudo privileges Step 1 […]

Read more
How to Use Python Virtual Environments on Ubuntu 24.04 — step-by-step Linux tutorial on Progressive Robot

How to Manage Node.js Versions with NVM on Ubuntu 24.04

NVM (Node Version Manager) lets you install multiple Node.js versions and switch between them with a single command. This is essential for developers working on multiple projects with different Node.js requirements on Ubuntu 24.04 LTS. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server or desktop A user account (NVM is installed […]

Read more
How to Use Python Virtual Environments on Ubuntu 24.04 — step-by-step Linux tutorial on Progressive Robot

How to Install Deno 2 on Ubuntu 24.04

Deno 2 is a modern JavaScript and TypeScript runtime that is secure by default, requires no package.json, and has first-class TypeScript support. Released in 2024, it is now Node.js-compatible. This guide installs Deno 2 on Ubuntu 24.04 LTS. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server or desktop A user account […]

Read more
How to Set Up a Next.js 15 Application on Ubuntu 26.04 — step-by-step Linux tutorial on Progressive Robot

How to Install Node.js 22 LTS on Ubuntu 26.04

Node.js 22 LTS is the current long-term support release of the JavaScript runtime. It includes performance improvements from V8 13, the stable fetch API, native TypeScript type-stripping support, and improved ESM compatibility. This guide installs Node.js 22 LTS on Ubuntu 26.04 LTS. Tested and valid on: Ubuntu 26.04 LTS Prerequisites Ubuntu 26.04 LTS server or […]

Read more
How to Set Up a Next.js 15 Application on Ubuntu 26.04 — step-by-step Linux tutorial on Progressive Robot

How to Install Deno 2 on Ubuntu 26.04

Deno 2 is a secure runtime for JavaScript and TypeScript built on V8 and Rust. Unlike Node.js, Deno has built-in TypeScript support, a permission-based security model, and a standard library without npm being required. Deno 2 introduces npm compatibility and improved backwards compatibility. This guide installs Deno 2 on Ubuntu 26.04 LTS. Tested and valid […]

Read more
How To Use JavaScript Maps - .map() — step-by-step Javascript tutorial on Progressive Robot

How To Use JavaScript Maps – .map()

One of the most popular methods of iterating through datasets in JavaScript is the `.map()` method. `.map()` creates an array from calling a specific function on each item in the parent array. `.map()` is a non-mutating method that creates a new array instead of changing the original. In this tutorial, we’ll look at four noteworthy uses of `.map()` in JavaScript: calling a function of array elements, converting strings to arrays, rendering lists in libraries, and reformatting array objects.

Read more
How To Avoid Performance Pitfalls in React with memo, useMemo, and useCallback — step-by-step Javascript tutorial on Progressive Robot

How To Avoid Performance Pitfalls in React with memo, useMemo, and useCallback

In React applications, performance problems often originate from component re-rendering. Because of this, learning how to prevent unneeded re-renders can help to optimize the performance of your React app. In this tutorial, you’ll look at how different actions can trigger re-renders and how you can use Hooks and memoization to minimize expensive data calculations. By the end of this tutorial, you’ll be familiar with many performance enhancing Hooks, such as the useMemo and useCallback Hook.

Read more
How To Build a GraphQL Server in Node.js Using GraphQL-yoga and MongoDB — step-by-step Databases tutorial on Progressive Robot

How To Build a GraphQL Server in Node.js Using GraphQL-yoga and MongoDB

Most applications today have the need to fetch data from a server where that data is stored in a database. GraphQL is a new API standard that provides a more efficient, powerful and flexible alternative to REST. It allows a client fetch only the data it needs from a server. This guide explainshow to use GraphQL in your Nodejs applications in place of REST.

Read more
CHAT