---
title: "Andrew Grass (@theandrewgrass) | Hashnode"
description: "Full Stack Web Developer. Read the latest articles by Andrew Grass on Hashnode."
url: "https://hashnode.com/@theandrewgrass"
---

@theandrewgrass

# Andrew Grass

@theandrewgrass · Ontario, Canada · Joined October 2021

Full Stack Web Developer

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

### [Locking Down your Dev Environment with Webpack DevServer and mkcert](https://blog.theandrewgrass.com/locking-down-your-dev-environment-with-webpack-devserver-and-mkcert?utm_source=hashnode&utm_medium=feed)

A simple guide to serving your application over HTTPS using Webpack DevServer and mkcert with your own custom hostname.

6 min read · [blog.theandrewgrass.com](https://blog.theandrewgrass.com/locking-down-your-dev-environment-with-webpack-devserver-and-mkcert?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/locking-down-your-dev-environment-with-webpack-devserver-and-mkcert/61bfa82d02755832385f2f62) [Dec 19, 2021](https://hashnode.com/posts/locking-down-your-dev-environment-with-webpack-devserver-and-mkcert/61bfa82d02755832385f2f62)

### [How to Add Dark Mode to a React Application](https://blog.theandrewgrass.com/how-to-add-dark-mode-to-a-react-application?utm_source=hashnode&utm_medium=feed)

A step-by-step walkthrough for adding the ability to toggle themes to your React application using React Context and Styled Components.

8 min read · [blog.theandrewgrass.com](https://blog.theandrewgrass.com/how-to-add-dark-mode-to-a-react-application?utm_source=hashnode&utm_medium=feed)

[Dec 6, 2021](https://hashnode.com/posts/how-to-add-dark-mode-to-a-react-application/61ad7eb9b6bca85a26d3eec0)

### [Get Hooked on Writing Hooks in React](https://blog.theandrewgrass.com/get-hooked-on-writing-hooks-in-react?utm_source=hashnode&utm_medium=feed)

A simple demonstration of how you can make your own Hooks to handle state logic in your React components.

4 min read · [blog.theandrewgrass.com](https://blog.theandrewgrass.com/get-hooked-on-writing-hooks-in-react?utm_source=hashnode&utm_medium=feed)

[Nov 21, 2021](https://hashnode.com/posts/get-hooked-on-writing-hooks-in-react/619ab510df376a260c58aa33)

### [How To Come Up with Test Cases for Unit Tests](https://blog.theandrewgrass.com/how-to-come-up-with-test-cases-for-unit-tests?utm_source=hashnode&utm_medium=feed)

Two simple approaches to coming up with test cases for unit tests with examples in C#.

5 min read · [blog.theandrewgrass.com](https://blog.theandrewgrass.com/how-to-come-up-with-test-cases-for-unit-tests?utm_source=hashnode&utm_medium=feed)

[Nov 15, 2021](https://hashnode.com/posts/how-to-come-up-with-test-cases-for-unit-tests/6191b78483e4212d6e57a1db)

### [Thieving Your Way to a Dynamic Colour Theme in React](https://blog.theandrewgrass.com/thieving-your-way-to-a-dynamic-colour-theme-in-react?utm_source=hashnode&utm_medium=feed)

Dynamically set the colour palette of your React components with color-thief-react.

3 min read · [blog.theandrewgrass.com](https://blog.theandrewgrass.com/thieving-your-way-to-a-dynamic-colour-theme-in-react?utm_source=hashnode&utm_medium=feed)

[Nov 7, 2021](https://hashnode.com/posts/thieving-your-way-to-a-dynamic-colour-theme-in-react/61875d1841f03514daf3f8fe)
