JavaScript

How To Install the Deno JavaScript Runtime on Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

How To Install the Deno JavaScript Runtime on Ubuntu 20.04

In this tutorial we will download and install Deno on Ubuntu 20.04, and run a `hello world` statement to test out our installation. Deno is a new JavaScript runtime being developed by the creator of Node.js, with a focus on security, developer experience, and compatibility with standard browser APIs. Deno uses the same V8 JavaScript engine as Node.js and the Chrome web browser, but ships with secure sandboxing, built-in TypeScript support, and a curated set of standard modules.

Read more
How To Manage State with Hooks on React Components — step-by-step Javascript tutorial on Progressive Robot

How To Manage State with Hooks on React Components

React Hooks are a broad set of tools in the React front-end JavaScript library that run custom functions when a component’s props change. Since this method of state management doesn’t require you to use classes, developers can use Hooks to write shorter, more readable code that is easy to share and maintain. Throughout this tutorial, you’ll learn how to set state using the useState and useReducer Hooks, using a product page component with a shopping cart as an example.

Read more
How To Use Functions in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Functions in TypeScript

TypeScript fully supports the existing JavaScript syntax for functions, while also adding type information and function overloading as new features. Besides providing extra documentation to the function, type information will also decrease the chances of having bugs. In this tutorial, you will start by creating the most basic functions with type information, then move on to more complex scenarios, like using rest parameters and function overloading.

Read more
How To Write Conditional Statements in JavaScript — step-by-step Javascript tutorial on Progressive Robot

How To Write Conditional Statements in JavaScript

In programming, there will be many occasions in which you will want different blocks of code to run depending on user input or other factors. As an example, you might want a form to submit if each field is filled out properly, but you might want to prevent that form from…

Read more
CHAT