TypeOfNaN

Nick Scialli

Nick Scialli is a software engineer at the U.S. Digital Service.

Debouncing with Redux Middleware

By Nick Scialli on October 20, 2019

Let's implement debouncing functionality using Redux middleware!

Toggling Light/Dark Theme in React with useContext

By Nick Scialli on September 14, 2019

Context was always a great option for sharing app-wide state such as theming. With the useContext hook, it became even better!

Callbacks, Promises, and Async-Await

By Nick Scialli on September 07, 2019

JavaScript touts asynchronous programming as a feature. In this post, we explore callbacks, promises, and async-await to handle async programming.

Short-Circuit Evaluation in JavaScript

By Nick Scialli on September 07, 2019

Short-circuit evaluation offers a clean and simple way to conditionally assign variables and handle control flow.

Writing a Custom React useDebounce Hook with Typescript

By Nick Scialli on August 30, 2019

Follow along as I write a custom useDebounce React hook with Typescript.

A More Idiomatic Two-Sum Solution in JavaScript

By Nick Scialli on August 26, 2019

Recently, I posted a way to solve the two-sum problem using an object to cache previous values of the array. This time, I look at a more idiomatic JavaScript approach.

Beware the Reduce / Spread Operator Combination!

By Nick Scialli on August 24, 2019

It may feel fancy to use them together, but can get quite expensive.

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

By Nick Scialli on August 24, 2019

In this post, we build something useful (an object validator) using test-driven development!

An Introduction to Memoization in JavaScript

By Nick Scialli on August 19, 2019

There was recently a lot of excitement surrounding the TC39 Optional Chaining Proposal. This is why!

Calculating Derived State in JavaScript Using Selectors

By Nick Scialli on August 17, 2019

State management is challenging. We can make it less challenging by making sure we don’t store any redundant information in our state.

Exploring the Two-Sum Interview Question in JavaScript

By Nick Scialli on August 11, 2019

The two-sum interview question is interesting to explore because it has both a brute force logical, solution, as well as a more efficient solution that can demonstrate strong CS fundamentals.

First-Class Functions in JavaScript

By Nick Scialli on August 01, 2019

JavaScript has first-class functions. What does this mean and why is it important?

Why We're Looking Forward to Optional Chaining

By Nick Scialli on July 28, 2019

There was recently a lot of excitement surrounding the TC39 Optional Chaining Proposal. This is why!

Object Assignment vs. Primitive Assignment in JavaScript for Beginners

By Nick Scialli on July 27, 2019

A quick look at object assignment in JavaScript aimed at newcomers to the language.

Avoiding Race Conditions when Fetching Data with React Hooks

By Nick Scialli on April 10, 2019

Learning how to fetch data the right way with React Hooks.

Debouncing with React Hooks

By Nick Scialli on April 09, 2019

Expermenting with the relatively new React Hooks API to accomplish debounced list filtering.

The Best Whiteboard Interview Advice I Ever Received

By Nick Scialli on March 24, 2019

In this article, I intend to pass along the best advice I ever received for going through a whiteboard interview.

A 100DaysOfCode Front-End Curriculum

By Nick Scialli on March 01, 2019

This is a somewhat opinionated curriculum for learning front-end development during 100DaysOfCode.

Fun with React and Git Hooks

By Nick Scialli on November 28, 2018

One topic I have gotten more and more excited about throughout my software development career is quality!

Get blog updates!

If you like what I post here, please sign up to get updates in your inbox. And don't worry, I won't spam you and you can unsubscribe any time!