JavaScript

How To Automate Your Node.js Production Deployments with Shipit on CentOS 7 — step-by-step Linux tutorial on Progressive Robot

How To Automate Your Node.js Production Deployments with Shipit on CentOS 7

Shipit is a universal automation and deployment tool for Node.js developers. It features a task flow based on the popular Orchestrator package, login and interactive SSH commands through OpenSSH, and an extensible API. Developers can use Shipit to automate build and deployment workflows for a wide range of Node.js applications. In this tutorial you will install and configure Shipit to deploy a basic Node.js application from your local development environment to your product environment.

Read more
How To Build a File Handling App in GraphQL and Vue — step-by-step Javascript tutorial on Progressive Robot

How To Build a File Handling App in GraphQL and Vue

In this tutorial, we’ll go over how to handle file uploads in GraphQL by building a full-stack app. This tutorial will be divided into two main sections: building the GraphQL API, and creating the frontend app. The GraphQL API will be built using Apollo Server and the frontend app will be built with Vue.js and Vue Apollo.

Read more
How To Call Web APIs with the useEffect Hook in React — step-by-step Javascript tutorial on Progressive Robot

How To Call Web APIs with the useEffect Hook in React

In this tutorial, you’ll use the useEffect and useState React Hooks to fetch and display information in a sample application, using JSON server as a local API for testing purposes. You’ll load information when a component first mounts and save customer inputs with an API. You’ll also refresh data when a user makes a change and learn how to ignore API requests when a component unmounts.

Read more
How To Create React Elements with JSX — step-by-step Javascript tutorial on Progressive Robot

How To Create React Elements with JSX

JSX is an abstraction that allows you to write HTML-like syntax in your JavaScript code and will enable you to build React components that look like standard HTML markup. Since you are also writing JavaScript, you’ll be able to take advantage of JavaScript functions and methods, including array mapping and short-circuit evaluation for conditionals. In this tutorial, you’ll build a working application that uses a variety of JSX features to display elements that have a built-in click listener.

Read more
How To Debug Components, State, and Events with Vue.js Devtools — step-by-step Javascript tutorial on Progressive Robot

How To Debug Components, State, and Events with Vue.js Devtools

When debugging a Vue application, moving between your source code and your browser can be a time-consuming process. To make debugging more efficient, you can use a browser extension like Vue.js Devtools. In this tutorial, you will set up a sample Vue application, install Vue.js DevTools in your browser, then add new features to your app while testing them with the browser extension.

Read more
How To Handle Async Data Loading, Lazy Loading, and Code Splitting with React — step-by-step Javascript tutorial on Progressive Robot

How To Handle Async Data Loading, Lazy Loading, and Code Splitting with React

In JavaScript development with the React library, asynchronous programming presents unique problems. When you use React functional components for example, asynchronous functions can create infinite loops. In this tutorial, you’ll find out how to avoid asynchronous programming bugs, load data with the useEffect React Hook, and split your code for on-demand lazy loading using React lazy and Suspense.

Read more
Comment installer Node.js sur Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

Comment installer Node.js sur Ubuntu 20.04

Node.js est un runtime JavaScript pour la programmation côté serveur. Il permet aux développeurs de créer des fonctionnalités d’arrière-plan évolutives en utilisant JavaScript, un langage que beaucoup connaissent déjà grâce au développement web par…

Read more
CHAT