RSS.Social

TypeOfNaN

follow: @[email protected]

Posts

I'm writing more

How to sort an array of objects by multiple properties in JavaScript

How to capitalize the first letter of a string in JavaScript

How to access an object property with a dynamically-computed name in JavaScript

How to use the right "this" value in JavaScript classes

How to return a response from an asynchronous call in JavaScript

Conditional component props in React with Typescript

How to add script tags to your React app

A one-line OpenSSL command to generate a self-signed SSL certificate

How to use HTTP2 with Express.js and test it locally

How to condition a function's output type based on its input type in Typescript

10x engineering for the rest of us

How to access the index in an Angular ngFor loop

What does it mean that Solid.js is truly reactive?

What the useEvent React hook is (and isn't)

Solid.js feels like what I always wanted React to be

How to use onChange in Solid.js

Learn Solid.js and build a todo list app

Creating the Hatchling.app MVP rapidly with React

How to write a binary search algorithm in JavaScript

What is a single page app?

Fix the "Function makes the dependencies of useEffect Hook change on every render" warning in React

How to toggle and array of items separately in React

Modern front-end development and the neglect of application display state

Mutation isn't always bad in JavaScript

How to find all files of a specific type recursively in Unix-based operating systems (Linux and Mac)

Why you can't set state multiple times in a row in React

How to calculate REMs from pixels

You probably shouldn't ignore react-hooks/exhaustive-deps linting warnings

A notional modern SaaS app architecture

How to preserve query parameters in React Router links

Partially mocking imports in Jest

How to prevent useEffect from running on mount in React

How to set focus on an input field after rendering in React

How to create a Map of more than 10 key-value pairs in Java

How to conditionally wrap JSX with a component in React

How to update nested state in React

How does the useMemo hook work in React?

How to serve a Gatsby app with Nginx in Docker

How to get a list of files in a directory using node.js

Redefining—and making a case for—resumé-driven development

How I use Github Actions to schedule Gatsby blog posts

How to use the useSelector Redux hook with Typescript

How To Fix Undefined 'this.state' in React Class Components

What is the Difference Between Promise.all and Promise.allSettled?

Scheduling Recurring Netlify Builds Using Github Actions

How to Bind Event Listeners to Dynamically-Created Elements in JavaScript

Why is the React useState Set Function Not Reflecting Changes Immediately?

What Questions Should You Ask in a Software Engineer Interview?

A Quick Primer on Signed vs. Unsigned Integers

Mutability and Shadowing in Rust

How to Use Pipe (the Pipeline Operator) in JavaScript

Fix the "Maximum Update Depth Exceeded" Error in React

Creating a React Infinite Scroll Component

How to Animate Items Out of an Array in React

Using Session Storage in React with Hooks

Making Every Object Property Nullable in Typescript

Fix the "React Hook is Called Conditionally" Error in React

How to Find an Object Deeply and Do Something with the Result in JavaScript

How to Not Lose Typescript Types When Using Custom React Components

How to Serve a Static App with nginx in Docker

How to Execute a Function After the User Stops Typing in JavaScript

Your First Svelte Project: A Todo List App

How to Test Your React App Effectively with React Testing Library

Some Good Interview Questions for Experienced Frontend Developers

Fix the "Uncaught TypeError: destroy is not a function" Error in React

Fix the "Cannot read property 'map' of undefined" Error in React

Adding Apollo GraphQL to Your React Project

Mocking Apollo GraphQL Queries in React Testing

Setting Up a Svelte Project with Typescript

How to Set Up a Svelte App with Rollup

How to Serve an Angular App with nginx in Docker

How to Split an Array Into a Group of Arrays in JavaScript

Your First Node Express App with Typescript

Is It Too Late To Be a Software Engineer?

How to Perfectly Fit an SVG to its Contents Using JavaScript

Generating Random Human-Readable Slugs in JavaScript

A useLocalStorage React Hook for JavaScript and Typescript

Writing Your Own useFetch Hook in React

How to Capture Between Two Characters in JavaScript using Regular Expressions

How to Add a Thousandths Place Comma (Every Three Digits) in JavaScript

Turning a Callback Function Into a Promise

Programming Languages and Frameworks to Learn in 2021

How to Serve a Vue App with nginx in Docker

How to Stop All Docker Containers

What is The Difference Between Server Side Rendering (SSR) and React Server Components?

Creating a Recursive List Menu Any Number of Levels Deep in React

How to Abort Multiple Fetch Requests in JavaScript using AbortController

Using Cookie-Based CSRF Tokens for Your Single Page Application

Modernizing Your Application and Processes with Modernizing.dev

How Does Async-Await Work in JavaScript

Why is My Recursive Function Returning Undefined in JavaScript?

How to Wait for Multiple Promises to Resolve in JavaScript Using Promise.all

How to Abort a Fetch Request in JavaScript using AbortController

How to Select or Omit Properties From an Object in JavaScript

How to Serve a Node App in Docker

Creating Your Own DeepPartial Type in Typescript to Allow Any Subset of Object Properties Deeply

How to Traverse an Object of Arbitrary Depth in JavaScript

Writing Custom React Hooks with Typescript

Learn the Basics of Redux by Writing Your Own Version in 30 Lines

What is Debouncing?

How to Serve a React App with nginx in Docker

How to Remove a Specific Item From an Array in JavaScript

How to Make One Function Argument Dependent on Another in Typescript

Using Local Storage in React with Your Own Custom useLocalStorage Hook

Using Jest Mocks to Prevent Non-Deterministic or Otherwise Changing Components from Continously Resulting in Snapshot Diffs

Schema-Driven React for More Efficient Development

Generate All Possible Combinations in JavaScript Using Combinate

How I went from 0 to 1,050 Developer Blog Email Signups in 6 Months

There May Not Be a Better Way to Effortlessly Improve Code Quality than Using Prettier Code Formatting

10 More JavaScript Quiz Questions and Answers to Sharpen Your Skills

10 JavaScript Quiz Questions and Answers to Sharpen Your Skills

Failing Faster and Iterating with Modern Software Development Practices

Where Can I find Deno Third Party Modules?

Programmatically Navigate Using React Router and Hooks

What is the Express.js of Deno?

Deep Object Change Handlers in Typescript

Pinning Dependency Versions in Deno

Writing Your First Deno Server in 60 Lines

If Your Refactors Break A Lot of Tests, You May Not Be Testing the Right Thing

Understanding Express.js: Creating Your Own Node HTTP Request Router

Interview Practice: Traversing a Linked List in JavaScript

The Revealing Module Pattern in JavaScript

Using the Fluent Interface Pattern to Build Objects in JavaScript

Your First React Typescript Project: a Todo List App

A React Typescript Change Handler to Rule Them All

Writing a Custom useWindowSize React Hook

Taking Pixel-Perfect Screenshots Every Time Using Chrome Devtools

Roll Your Own JavaScript Immutability Function Using the Proxy Object

Learn the JavaScript Array.every() and Array.some() methods

What is a Higher-Order Function?

The JavaScript Set Object

What is Memoization?

What is a Thunk?

Set Up a Typescript React Redux Project

Variable Assignment and Primitive/Object Mutability

What is a Pure Function?

Exploring the Symmetric Difference Interview Question in JavaScript

An Easy Way to Build a Tree in JavaScript Using Object References

An Approach to JavaScript Object Schema Migration

Random JavaScript Tips

Debouncing with Redux Middleware

Toggling Light/Dark Theme in React with useContext

Callbacks, Promises, and Async-Await

Short-Circuit Evaluation in JavaScript

Writing a Custom React useDebounce Hook with Typescript

A More Idiomatic Two-Sum Solution in JavaScript

Beware the Reduce / Spread Operator Combination!

Creating an Object Validator in JavaScript the Test-Driven Development Way

An Introduction to Memoization in JavaScript

Calculating Derived State in JavaScript Using Selectors

Exploring the Two-Sum Interview Question in JavaScript

First-Class Functions in JavaScript

Why We're Looking Forward to Optional Chaining

Object Assignment vs. Primitive Assignment in JavaScript for Beginners

Avoiding Race Conditions when Fetching Data with React Hooks

Debouncing with React Hooks

The Best Whiteboard Interview Advice I Ever Received

A 100DaysOfCode Front-End Curriculum

Fun with React and Git Hooks