JavaScript

How To Add Stimulus to a Ruby on Rails Application — step-by-step Javascript tutorial on Progressive Robot

How To Add Stimulus to a Ruby on Rails Application

In this tutorial, you will install and use Stimulus to build on an existing Rails application that offers readers information about sharks. The application already has a model for handling shark data, but you will add a nested resource for posts about individual sharks, allowing users to build out a body of thoughts and opinions about sharks. You will use Stimulus to manipulate the position and appearance of posts on the page.

Read more
How To Use Vue.js Environment Modes with a Node.js Mock Data Layer — step-by-step Javascript tutorial on Progressive Robot

How To Use Vue.js Environment Modes with a Node.js Mock Data Layer

In web development with the JavaScript framework Vue.js, developers often create the frontend of their application before the backend is ready. For a temporary backend, you can use Node.js to create a mock data layer for your application. This tutorial shows how to use environment variables to provide data for different modes of your Vue.js project.

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 Use Generics in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Generics in TypeScript (Quick Reference)

Generics are a fundamental feature of statically-typed languages, allowing developers to pass types as parameters to a type, function, or other structure. TypeScript fully supports generics as a way to introduce type-safety into components that accept arguments and return values whose type will be indeterminate until they are consumed later in your code. In this tutorial, you will try out real-world examples of TypeScript generics to make your code more re-usable.

Read more
CHAT