JavaScript

Showing 1-9 of 152 results
EngineeringIcon ChevronWeb Front-end

Next.js Rendering Techniques: How to Optimize Page Speed

By Subhakar Tikkireddy

Next.js is best known for server-side rendering, but these innovative strategies can help developers configure web apps for more speed, reduced server load, improved SEO, and much more.

14 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

Tested Solutions: Working With React Design Patterns

By Mudassir Ijaz

Design patterns offer a convenient way to tackle challenges with tried-and-tested solutions, saving developers time and effort. Here’s how React design patterns allow for coherent modules with less coupling.

15 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

The Secret Behind Steady App Performance: Asynchronous JavaScript

By Muhammad Ammar Ilyas

JavaScript’s default synchronous methods can freeze an application, scaring off end users. Here’s how you can leverage asynchronous JavaScript techniques to increase control over front-end responsiveness.

7 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

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

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

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

Visual Regression Testing With Cypress: A Pragmatic Approach

By Rafael Anachoreta

Visual regression testing is not a new concept. Toptal engineers routinely use it, but with looming deadlines, they sometimes need to innovate and improvise. This article demonstrates how Toptal QA specialists leveraged UI testing and Cypress to run visual regression tests without resorting to specialized tools.

7 minute readContinue Reading
EngineeringIcon ChevronBack-end

Building a Node.js/TypeScript REST API, Part 3: MongoDB, Authentication, and Automated Tests

By Marcos Henrique da Silva

Our Express.js REST API series ends with a bang! Learn how to add a Dockerized MongoDB instance, Mongoose, JWT authentication, user permissions, and automated testing with Mocha, Chai, and SuperTest.

25+ minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

A Deep Dive Into NgRx Advantages and Features

By Luka Onikadze

NgRx is a popular Angular state management library, but to unlock its full potential developers may require a few new skills. In this article, Toptal Full-stack Developer Luka Onikadze explains why he became an NgRx admirer after starting off as a skeptic.

16 minute readContinue Reading

Join the Toptal® community.