Tag: vanilla-javascript

Write Declarative Promise Wrapper JavaScript

How to write a declarative JavaScript promise wrapper

Dev

In this guide, we demonstrate how to write declarative asynchronous function calls in JavaScript, resulting in code that’s more readable and easier to maintain.

Vijit Ail
Apr 5, 2022 ⋅ 7 min read
Types As Comments: Strong Types, Weakly Held

Type annotations (aka, types as comments): Strong types, weakly held

Dev

Type annotations (aka, types as comments) is a proposal that would allow for the inclusion of types in JavaScript code.

John Reilly
Mar 29, 2022 ⋅ 5 min read
Build A Native Audio Plugin With Elementary

Build a native audio plugin with Elementary

Dev

Elementary is a Javascript framework for audio coding that reduces the barrier to entry for writing audio plugins.

Stoyan Stefanov
Mar 17, 2022 ⋅ 8 min read
How To Copy Objects In JavaScript

How to copy objects in JavaScript: A complete guide

Dev

This guide shares techniques and use cases for copying objects in Javascript and Typescript with: shallow copy, deep copy, assigning, merging, and structured cloning.

Maciej Cieślar
Mar 9, 2022 ⋅ 10 min read

Nativizing PWAs with Window Controls Overlay

Dev

Learn how to use the Window Controls Overlay functionality for progressive web apps to make them more native.

Lewis Cianci
Mar 3, 2022 ⋅ 8 min read
How To Build A File Upload Service With Vanilla JavaScript

How to build a file upload service with vanilla JavaScript

Dev

Build a file upload service with vanilla JavaScript from scratch with a method that requires no npms and no dependencies.

Pankaj Tanwar
Feb 28, 2022 ⋅ 8 min read
ES2022 What To Expect

What to expect from ES2022

Dev

JavaScript is continually evolving. Here’s a look at eight new features that are expected to be available with JavaScript’s ES2022 specification.

Pascal Akunne
Feb 22, 2022 ⋅ 5 min read
javascript-package-managers-compared

JavaScript package managers compared: npm, Yarn, or pnpm?

Dev

With the spate of popular JavaScript package managers reaching relative feature parity, it’s time to compare: npm, Yarn, or pnpm?

Sebastian Weber
Feb 16, 2022 ⋅ 20 min read
JavaScript Intercept Fetch API Responses

Intercepting JavaScript Fetch API requests and responses

Dev

Cover what JavaScript interceptors are and learn how to create interceptors both by monkey patching the Fetch API and using the fetch-intercept library.

Indermohan Singh
Feb 8, 2022 ⋅ 4 min read
weakmap And weakset: Understanding JavaScript Weak References

WeakMap and WeakSet: Understanding JavaScript weak references

Dev

Learn about weak references in JavaScript and how we can use them by utilizing the WeakMap and WeakSet objects.

Coner Murphy
Dec 28, 2021 ⋅ 5 min read
Why Dont People Like PHP

Why don’t people like PHP?

Dev

Compare the performance, features, and capabilities of JavaScript and PHP in 2021 for a better sense of what makes PHP less popular.

Andrew Evans
Nov 17, 2021 ⋅ 5 min read

What you need to know while using the Geolocation API

Dev

Learn how to effectively use the Geolocation API with this article filled with tips, tricks, and necessities when requesting user location.

Joseph Mawa
Nov 15, 2021 ⋅ 8 min read