JavaScript

Showing 1-9 of 90 results

Share
Ryan J. Peterson

The 10 Most Common JavaScript Issues Developers Face

By Ryan J. Peterson
At first, JavaScript may seem quite simple. Yet the language is significantly more nuanced, powerful, and complex than one would initially be led to believe. Many of JavaScript's subtleties lead to a number of common problems—10 of which we discuss here—that keep code from behaving as intended. It's important to be aware of and avoid these pitfalls in one's quest to become a master JavaScript developer.
13 minute readContinue Reading
Daniele Monesi

TypeScript vs. JavaScript: Your Go-to Guide

By Daniele Monesi
Considering you can include as much plain JavaScript as you like in your TypeScript project, what factors should you consider when choosing TypeScript for your application? Let's explore.
10 minute readContinue Reading
Vitaly Senko

Using Express.js Routes for Promise-based Error Handling

By Vitaly Senko
Maintainable Express.js code after scaling means making common code more feature-rich while reducing boilerplate. Find out how to enable promise-based route code and centralize both error handling and normal-results handling in Express.js apps.
8 minute readContinue Reading
Peter Suggate

WebAssembly/Rust Tutorial: Pitch-perfect Audio Processing

By Peter Suggate
WebAssembly gives near-native performance to web apps and allows languages other than JavaScript—plus their libraries—to be used on the web. This tutorial leverages Rust and the Web Audio API to make a basic guitar tuner app that runs at 60 FPS, even on mobile.
24 minute readContinue Reading
Punit Jajodia

The Definitive Guide to DateTime Manipulation

By Punit Jajodia
Time and date manipulation is notoriously difficult. Developers encountering time zone rules, leap seconds, differences in locale-specific formatting are wise to resort to popular time and date manipulation libraries. But without thinking about how exactly they work, it's still easy to create all sorts of obscure bugs.
23 minute readContinue Reading
Marcos Henrique da Silva

Creating a Secure REST API in Node.js

By Marcos Henrique da Silva
As patterns go, REST APIs are so useful and ubiquitous that every web developer, regardless of language or platform, should know how to build them. In this article, Toptal JavaScript Developer Marcos Henrique da Silva shows how to create a simple and secure REST API for user management on Node.js.
14 minute readContinue Reading
Shanglun Wang

Full-stack NLP With React: Ionic vs. Cordova vs. React Native

By Shanglun Wang
JavaScript frameworks based on React can help you build a fast, reliable mobile app, but it’s not always easy to determine which framework is best for your project. Choosing the wrong framework can result in an app with slow and redundant code. JavaScript expert Sean Wang builds the same natural language processing mobile application using Cordova, Ionic, and React Native, then discusses the advantages and limitations of each.
25+ minute readContinue Reading
Luke Wilson

Serializing Complex Objects in JavaScript

By Luke Wilson
The Tanagra.js library is designed to be simple and lightweight, and it currently supports Node.js and ES6 classes. The main implementation supports JSON, and an experimental version supports Google Protocol Buffers.
7 minute readContinue Reading
Kevin Bloch

Cabin Fever Coding: A Node.js Back-end Tutorial

By Kevin Bloch
Missing the luxury of a good, old-fashioned remote control when the laptop is beyond easy reach? Transform your old smartphone into a remote and learn some basic Node.js/Express/Pug along the way.
16 minute readContinue Reading

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

Join the Toptal® community.