JavaScript

Showing 1-9 of 143 results
EngineeringIcon ChevronBack-end

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
EngineeringIcon ChevronWeb front-end

On-demand Reactivity in Vue 3

by Luka Mikec

The release of Vue 3 brought about substantial performance improvements, but they should not overshadow the introduction of new features and paradigms. In this article, Toptal Full-stack Developer Luka Mikec introduces you to the new Composition API and explains what Vue 3 means for code expressiveness, organization, and reuse.

16 minute readContinue Reading
EngineeringIcon ChevronBack-end

Building a Node.js/TypeScript REST API, Part 1: Express.js

by Marcos Henrique da Silva

Learn practical TypeScript patterns with interfaces and extended classes. Avoid messy console.log() statements with Winston and the Node.js debug module. Create an Express.js-powered REST API back end from scratch!

12 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Leveraging Declarative Programming to Create Maintainable Web Apps

by Peter Suggate

Adopting declarative-style programming techniques allows teams to create web applications that are easier to extend and maintain. In this article, Toptal Full-stack Developer Peter Suggate demonstrates how to leverage declarative programming and finite-state machines in JavaScript.

13 minute readContinue Reading
EngineeringIcon ChevronTechnology

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
EngineeringIcon ChevronTechnology

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
EngineeringIcon ChevronBack-end

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
EngineeringIcon ChevronBack-end

The Need for Speed: A Toptal JavaScript Coding Challenge Retrospective

by Eva Bojorges Rodriguez

Toptal's JavaScript Speed Coding Challenge invited creative solutions from the beginning. As the week played out, competitors got closer and closer to the maximum theoretical score. Then something unexpected happened...

6 minute readContinue Reading
EngineeringIcon ChevronTechnology

Stale-while-revalidate Data Fetching with React Hooks: A Guide

by Avi Aryan

Inspired by stale-while-revalidate cache control logic, modern sites implement stale-while-refresh logic on the UI side. Thankfully, React Hooks make this logic painlessly reusable across components.

15 minute readContinue Reading

Join the Toptal® community.