Javascript

How To Use Form Validation in Vue — step-by-step Javascript tutorial on Progressive Robot

How To Use Form Validation in Vue

Almost every web application makes use of forms in some way, as such developers always have to tackle form validations. If you are a new developer, it can be hard deciding how best to approach this. Depending on the stack you are using, there are many of options to choose from.

Read more
How To Validate a Login Form With React and Formik — step-by-step Javascript tutorial on Progressive Robot

How To Validate a Login Form With React and Formik

In order to ensure that the form element of your web application is returning valid data, it is helpful to build automated validation into your code. This is true in React as well; creating form validation early on can often save you from encountering errors down the road. In this tutorial, you will create a React project, add the Formik package, customize the Formik component with an onSubmit callback and a validate function for error messages, then display those error messages to the user.

Read more
How To Write End-to-End Tests in Node.js Using Puppeteer and Jest — step-by-step Javascript tutorial on Progressive Robot

How To Write End-to-End Tests in Node.js Using Puppeteer and Jest

End-to-end testing (e2e for short) is a process in which the entire lifecycle of an application is tested from a user’s perspective in a production-like scenario. In this tutorial, you will write an e2e test in Node.js that validates that the account creation and login features of a sample web page, using Puppeteer to crawl the site and Jest to make unit tests.

Read more
JavaScript Functional Programming Explained: Partial Application and Currying — step-by-step Javascript tutorial on Progressive Robot

JavaScript Functional Programming Explained: Partial Application and Currying

Two important ideas in JavaScript with roots in functional thought are currying, which transforms a function of multiple arguments into a series of function calls, and partial application, which fixes the value of some of a function’s arguments without fully evaluating the function. In this article, you will use partial application to fix arguments to a function, curry functions to facilitate partial application, and design functions that facilitate partial application.

Read more
CHAT