JavaScript

Showing 1-9 of 122 results
EngineeringIcon ChevronBack-end

Working with TypeScript, Dependency Injection, and Discord Bots

by Michał Krakiewicz

Types and testable code are two of the most effective ways of avoiding bugs. In this tutorial, discover TypeScript best practices while you create a Discord bot from scratch.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

The Back End: Using Gatsby.js and Node.js for Static Site Updates

by Furkan Yavuz

Static websites are simple and fast, but it's also possible to automate updates to them to keep them fresh and relevant. Find out how to generate daily-updated HTML pages that track the latest releases of popular GitHub repositories.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Benchmarking A Node.js Promise

by Omar Waleed

You can just write sequentially executed code in JavaScript, but should you? In this article, Toptal Freelance JavaScript Developer Omar Waleed tests the widespread Node.js belief that synchronous code degrades performance and is, in a sense, just plain evil. Is this really true?

7 minute readContinue Reading
EngineeringIcon ChevronMobile

Build a QR Scanner: A React Native Camera Tutorial

by Bassam Seif

Cross-platform mobile apps are increasingly being built with React Native. But how can you scan for QR codes and augment the user's camera view when they're present?

6 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Angular Components 101 — an Overview

by Valters Valdersteins

While components have been available in Angular since the beginning, they’re still easy to mess up with common mistakes like people not using them at all, creating components instead of attribute directives, and more. In this article, Toptal Freelance JavaScript Developer Valters Valdersteins differentiates the correct and incorrect ways to use Angular components and illustrates them with examples.

11 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

React Tutorial: Components, Hooks, and Performance

by Kamil Jakubczak

In recent years, React has established itself as the most popular library in the JavaScript universe. However, rather than rest on its laurels, the React team is still working hard to make it better. In the second part of our React tutorial series, Toptal JavaScript Developer Kamil Jakubczak takes a closer look at some of its features, including hooks, the latest addition to React.

16 minute readContinue Reading
EngineeringIcon ChevronTechnology

Working with Google Sheets and Apps Script

by Wojciech Skowronek

It’s easy to start working with a spreadsheet, but it also takes time to master your skills to use all the powerful features it provides. When you start feeling comfortable with formulas, functions, pivot tables, etc., there is still one more level which allows you to achieve even more—custom extensions. In this article, I’m going to focus on extending Google Spreadsheets with a Google Apps Script that validates European Union VAT IDs via API calls.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

Smart Node.js Form Validation

by Andrej Adamcik

Bulletproof data validation is fundamental to implementing a back-end API. Find out how datalize, a Node.js library, makes this easy—and formats your data nicely, too.

8 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Working with the React Context API

by Boris Yordanov

The React Context API was been around as an experimental feature for a while now but finally became safe to use in production last year, solving one major problem React problem — prop drilling. In this article, Toptal Freelance Javascript Developer Boris Yordanov will introduce us to the API and illustrate it with two basic web store apps, one built with the Context API and one without it.

5 minute readContinue Reading

Join the Toptal® community.