Tag: vanilla-javascript

Fast JavaScript Bundling With esbuild

Faster than webpack: JavaScript bundling with esbuild

Dev

Although not yet production-ready, esbuild proves that the JavaScript bundling tools we’re using today are not nearly fast enough. Learn how esbuild is able to work so quickly and why it deserves your attention in 2020.

Ibrahima Ndaw
Apr 2, 2020 ⋅ 2 min read
5 Tips to Keep Your JavaScript Libraries Up to Date

5 tips to keep your JavaScript libraries up to date

Dev

Keeping your JavaScript libraries up to date can be boring, exhausting work. You can avoid many of the common pitfalls by implementing some handy tools and workflows to handle the lion’s share of maintaining and future-proofing your JavaScript libraries.

Florian Reuschel
Mar 26, 2020 ⋅ 6 min read
New Decorators Proposal

New decorators proposal

Dev

The stage two decorators proposal includes predefined, optimized decorators that would handle the most resource-heavy operations, alleviating memory allocation concerns impacted the first phase.

Tigran Bayburtsyan
Feb 7, 2020 ⋅ 3 min read
Demystifying JavaScript

Demystifying function and variable hoisting in JavaScript

Dev

Take a look at this overview of function declaration, function expression, and arrow functions in JavaScript.

Gbolahan Olagunju
Jan 26, 2020 ⋅ 2 min read
Optional Chaining And Nullish Coalescing In JavaScript

Optional chaining and nullish coalescing in JavaScript

Dev

Optional chaining and nullish coalescing may be the most significant improvement for JavaScript since async/await.

Danny Guo
Dec 26, 2019 ⋅ 2 min read
How JavaScript Works: Optimizing for Parsing Efficiency

How JavaScript works: Optimizing for parsing efficiency

Dev

To write JavaScript more efficiently, consider deferring parsing to worker threads or avoiding parsing entirely by maximizing the cache.

Alvin Wan
Dec 10, 2019 ⋅ 5 min read

Inheritance with JavaScript prototypes

Dev

In this post, we will look at prototypes and how to use them for inheritance in JavaScript. We will also see how the prototypical approach is different from class-based inheritance.

Indermohan Singh
Nov 22, 2019 ⋅ 6 min read

An introduction to deep learning with Brain.js

Dev

In this post, we’ll look at some machine learning concepts and learn more about Brain.js.

Obinna Ekwuno
Nov 15, 2019 ⋅ 5 min read
Radix Sort: No Comparisons Required

Radix sort: No comparisons required

Dev

Radix sort is unique among sorting algorithms. Explore how it works and how to implement it in JavaScript.

Glad Chinda
Nov 3, 2019 ⋅ 8 min read
isPalindrome(): A Recursive Approach

isPalindrome(): A recursive approach

Dev

Learn how you can delay stack overflow for most recursive functions by writing a simple isPalindrome() function in JavaScript.

Glad Chinda
Oct 24, 2019 ⋅ 6 min read

4 alternatives to Moment.js for internationalizing dates

Dev

Moment.js is a robust and mature library for date processing, however, it may be overkill for some projects.

Esteban Herrera
Oct 9, 2019 ⋅ 9 min read
Methods For Defining Functions In JavaScript

Methods for defining functions in JavaScript

Dev

The way you define a function in JavaScript will affect its behavior. We explore each way one by one.

Yash Agrawal
Sep 25, 2019 ⋅ 4 min read