Customized Remote Work Solutions From the World’s Largest Fully Remote CompanyCustomized Remote Work SolutionsLearn More

JavaScript

Showing 37-45 of 87 results
EngineeringIcon ChevronBack-end

Immutability in JavaScript using Redux

by David Xu

In an ever growing ecosystem of rich and complicated JavaScript applications, there’s more state to be managed than ever before: the current user, the list of posts loaded, etc.Managing state can be hard and error prone, but immutability and Redux- a predictable state container for JavaScript apps- can help significantly. In this article, Toptal Programmer David Xu talks about managing state using immutability with Redux, a predictable state container.

11 minute readContinue Reading
EngineeringIcon ChevronTechnology

A Guide to Managing Webpack Dependencies

by Andrej Gajdos

The Webpack module bundler processes JavaScript code and all static assets, such as stylesheets, images, and fonts. However, configuring Webpack and its dependencies can be cumbersome and not always a straightforward process, especially for beginners. In this article, Toptal Software Engineer Andrej Gajdos provides a guide with examples on how to configure Webpack for different scenarios and points out the most common pitfalls connected to project dependencies and their bundling when using Webpack.

9 minute readContinue Reading
EngineeringIcon ChevronTechnology

Make Your Web Front-end Reliable with Elm

by Stas Davydov

If you’ve spent your fair share of time developing web front-ends, you know that no amount of libraries and plugins are sufficient enough to make the development experience pleasant. Unpredictable event chains, complex data binding, and lack of structured data modeling only makes things worse. Elm, a programming language built for front-end development, cuts to the root of all these problems and solves them there. In this post, Toptal Software Engineer Stanislav Davydov provides a detailed guide to Elm and shows us how The Elm Architecture solves some of the most fundamental challenges of front-end development.

17 minute readContinue Reading
EngineeringIcon ChevronBack-end

The Definitive Guide to DateTime Manipulation

by Punit Jajodia

In the realm of software development, time and date manipulation is considered by many to be a difficult task. Complicated time zone rules, leap seconds, differences in locale-specific formatting, etc., force us to immediately resort to popular time and date manipulation libraries. We often use these libraries without thinking about how exactly they work, which can lead to all sorts of obscure bugs in our software. In this article, Toptal Freelance Software Engineer Punit Jajodia gives us an in-depth introduction to some concepts and best practices to avoid a few of the obvious issues related to changing the time and date in our applications.

19 minute readContinue Reading
EngineeringIcon ChevronBack-end

Gulp: A Web Developer's Secret Weapon for Maximizing Site Speed

by Anton Kanevsky

When dealing with web-based projects that run in the production environment, being able to build and deploy changes quickly is a top priority. However, repetitive processes such as building front-end assets, when not automated, can be prone to critical errors. In this article, Toptal Freelance Software Engineer Anton Kanevsky shows us how Gulp can solve various challenges of build automation through simple JavaScript routines.

11 minute readContinue Reading
EngineeringIcon ChevronTechnology

Web Audio API: Why Compose When You Can Code?

by Joaquín Aldunate

Meet Web Audio API, a powerful programming interface for controlling audio on the web. Gone are the days when the web browser could rarely play a sound file correctly. With this API, you can now load sound from different sources, apply effects, create visualizations, and do much more. In this article, Toptal Freelance Software Engineer Joaquín Aldunate shows us how to unleash our inner musician using Web Audio API with the Tone.js framework by giving us a brief overview of what this API has to offer and how it can be used to manipulate audio on the web.

8 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Bidirectional Relationship Support in JSON

by Nirmel Murtic

Ever tried to create a JSON data structure that includes entities with bidirectional relationships? If you have, you know that this often results in errors or exceptions being thrown. In this article, Toptal Freelance Software Engineer Nirmel Murtic provides a robust working approach to avoiding these errors when creating JSON structures that included entities with bidirectional (i.e., circular) relationships.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Write Code to Rewrite Your Code: jscodeshift

by Jeremy Greer

How many times have you used the find-and-replace functionality (or RegEx) across a directory to make changes to JavaScript source files? Up your refactoring game by using codemods, scripts used to rewrite other scripts. In this article, Toptal Freelance Developer Jeremy Greer walks us through three common uses of codemods, using the toolkit “jscodeshift.”

15 minute readContinue Reading
EngineeringIcon ChevronBack-end

Toptal's Quick and Practical JavaScript Cheat Sheet: ES6 and Beyond

by Jesus Dario

Software engineers are always searching for the best tools and guides to help them be more productive and allow them to spend less time reading long technical specifications. Today, Toptal is pleased to present a new resource to the community: the JavaScript Cheat Sheet - ES6 and Beyond. Toptal's JavaScript Cheat Sheet is a quick, easily understandable reference guide. It is free to download and includes all the new and exciting features introduced with ES6 as well as the future experimental features from ES7.

11 minute readContinue Reading

Join the Toptal® community.