JavaScript

Como criar um módulo Node.js — step-by-step Javascript tutorial on Progressive Robot

Como criar um módulo Node.js

O autor selecionou a Open Internet/Free Speech Fund para receber uma doação como parte do programa Write for DOnations. No Node.js, um module é uma coleção de funções e objetos do…

Read more
How To Create Your First Cross-Platform Desktop Application with Electron on macOS — step-by-step Javascript tutorial on Progressive Robot

How To Create Your First Cross-Platform Desktop Application with Electron on macOS

Electron is an open source framework for creating native applications with web technologies like JavaScript, HTML, and CSS. In this tutorial, you’ll first set up a project and install Electron. After that you’ll create your first hello world application using Electron and customize it. You’ll implement graceful window setup and create new windows for the application. After following all of these steps, you will have an Electron cross-platform desktop application on macOS.

Read more
How to Dynamically Import JavaScript with Import Maps — step-by-step Javascript tutorial on Progressive Robot

How to Dynamically Import JavaScript with Import Maps

Build tools are an important part of the development experience, but a spec called import maps will allow you to both import external code into your project without a build tool. In this tutorial, you will create and use import maps in JavaScript to import code without build tools, import external code, and use the code without extra build steps.

Read more
Comment mettre en œuvre le défilement fluide dans React — step-by-step Javascript tutorial on Progressive Robot

Comment mettre en œuvre le défilement fluide dans React

Qu’est-ce que le défilement fluide ? Au lieu de cliquer sur un bouton et d’être instantanément amené à une autre partie de la (même) page, l’utilisateur y est guidé par une animation de défilement. C’est l’une de ces caractéristiques subtiles sur un site qui fait une différence esthétique.

Read more
How To Test a React App with Jest and React Testing Library — step-by-step Javascript tutorial on Progressive Robot

How To Test a React App with Jest and React Testing Library

Obtaining solid test coverage is imperative for building confidence in your web application. In this tutorial, you will test asynchronous code and interactions in a sample project containing various UI elements. You will use Jest to write and run unit tests, and you will implement React Testing Library as a helper DOM library to handle interacting with components.

Read more
CHAT