---
title: "Ephraim Duncan (@dephraiim) | Hashnode"
description: "▲ Software Engineer, Writer. Read the latest articles by Ephraim Duncan on Hashnode."
url: "https://hashnode.com/@dephraiim"
---

@dephraiim

# Ephraim Duncan

@dephraiim · Remote · Joined July 2020

▲ Software Engineer, Writer

[Website](https://ephraimduncan.com/)

### [Recursion in JavaScript and React Components](https://blog.astrosaurus.me/recursion?utm_source=hashnode&utm_medium=feed)

Introduction Recursion, in its essence, is a method of problem-solving that employs the solution to be expressed in terms of itself. This means that a function that employs recursion will call upon itself repeatedly until it reaches a specific base c...

5 min read · [blog.astrosaurus.me](https://blog.astrosaurus.me/recursion?utm_source=hashnode&utm_medium=feed)

[Dec 12, 2022](https://hashnode.com/posts/recursion/639891f9dfe61e4da8cec2de)

### [Use Preact in Next.js 13](https://blog.astrosaurus.me/nextjs-preact?utm_source=hashnode&utm_medium=feed)

Introduction Next.js uses React by default. In this blogpost, I want to replace React with Preact and compare the build differences. Preact is a JavaScript library, considered the lightweight 3kb alternative of React with the same modern API and ECMA...

3 min read · [blog.astrosaurus.me](https://blog.astrosaurus.me/nextjs-preact?utm_source=hashnode&utm_medium=feed)

[Nov 27, 2022](https://hashnode.com/posts/nextjs-preact/6383400ce802d2588d4ca44b)

### [Testing Next.js Applications with Jest and React Testing Library](https://blog.astrosaurus.me/testing-nextjs-applications-with-jest-and-react-testing-library?utm_source=hashnode&utm_medium=feed)

Writing Bug-free and Robust Web Applications

10 min read · [blog.astrosaurus.me](https://blog.astrosaurus.me/testing-nextjs-applications-with-jest-and-react-testing-library?utm_source=hashnode&utm_medium=feed)

[6](https://hashnode.com/posts/testing-nextjs-applications-with-jest-and-react-testing-library/631de167f73f4734bc057755) [Sep 11, 2022](https://hashnode.com/posts/testing-nextjs-applications-with-jest-and-react-testing-library/631de167f73f4734bc057755)

### [Writing a Good Technical Article](https://blog.astrosaurus.me/writing-a-good-technical-article?utm_source=hashnode&utm_medium=feed)

Introduction I used to write poems and short stories. When I became a developer, I felt the urge to write as well. Although I haven't been very consistent, I have published some technical articles that I'm pleased with. Every developer should value t...

6 min read · [blog.astrosaurus.me](https://blog.astrosaurus.me/writing-a-good-technical-article?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/writing-a-good-technical-article/62bf2105e4246414d3d3142c) [Jul 1, 2022](https://hashnode.com/posts/writing-a-good-technical-article/62bf2105e4246414d3d3142c)

### [Lazy Loading Images In Next.js](https://blog.astrosaurus.me/lazy-loading-images-in-nextjs?utm_source=hashnode&utm_medium=feed)

Introduction We have all heard this term before. Lazy Loading. What is it anyways? Lazy loading postpones the loading of resources on a page, in this case an image, until they are actually required. Rather than loading these resources as soon as the ...

2 min read · [blog.astrosaurus.me](https://blog.astrosaurus.me/lazy-loading-images-in-nextjs?utm_source=hashnode&utm_medium=feed)

[May 27, 2022](https://hashnode.com/posts/lazy-loading-images-in-nextjs/62912ce30989e6b52feae052)
