Joshua Amaju

Joshua Amaju @joshuaamaju

About: React Engineer | React Native Engineer | Experimentalist

Location:
Lagos, Nigeria
Joined:
Sep 15, 2019

Joshua Amaju
articles - 16 total

Avoiding Memory Leaks in JavaScript

In JavaScript, it's easy to unintentionally create memory leaks and dangling promises, especially...

Learn More 0 0Mar 3

Self Closing Browser Tab with JavaScript

Did You Know You Can Close a Browser Tab Using JavaScript? It might surprise you to learn that you...

Learn More 6 2Dec 2 '24

Accordion with 0 JS

Did you know you can create an accordion with zero JavaScript? Let’s explore how. The secret lies in...

Learn More 0 2Nov 18 '24

The Right Way to Add Images to Emails in Next.JS

If you're building features like authentication or transactional emails in your Next.js app, chances...

Learn More 0 0Oct 24 '24

fetch + interceptors

No more untyped network or interceptor errors. Know exactly where errors might happen and what type...

Learn More 2 11Aug 28 '24

✨ Simple trick for printing a div

Advantages Your page retains interactivity after print Plays nice with frameworks Doesn't...

Learn More 0 0Aug 1 '24

A Proposal to Add Signals to JavaScript: A Mistake?

Recently, there's been a buzz about a proposal to introduce Signals to JavaScript. But before diving...

Learn More 2 2May 8 '24

Automatic Application Versioning

Learn how to setup versioning with in your CI/CD workflow Benefits Easy rollback to last...

Learn More 1 0Apr 19 '24

Manipulating dates in Typescript

The correct way to subtract or add dates when using Typescript const diff = new Date().valueOf() -...

Learn More 1 0Apr 7 '24

What is a Promise

In JavaScript, Promises act as containers for values that will be available in the future, regardless...

Learn More 0 0Mar 26 '24

🚀 Mastering Website Previews: A Step by Step Guide to Playwright and Chromium! ✨

So you want to show a website preview. Your first thought, I'll just stick the URL in an iframe...

Learn More 18 2Nov 12 '23

File-based routing: Vite + react-router-dom + generouted

Getting started npm create vite@latest my-app -- --template react Enter...

Learn More 0 0Oct 26 '23

DEV's Home Feed: A Hot Mess

The DEV home feed got a new look a while back. It used to be a simple list of posts with a title and...

Learn More 0 1Jun 4 '23

Representing missing values

We all have to deal with missing values i.e null, which was later said to be a billion dollar...

Learn More 0 0Oct 5 '22

Building for Native is bullshit

My patience building for native platforms is running thin. Just spent the entire day debugging a...

Learn More 0 1Oct 3 '22

Schrodinger's function

Promises and throw considered harmful Take for example the code below function...

Learn More 0 0Sep 27 '22