Category: Coding

The Developer’s Escape Hatch: Using Stash & Pop to Manage Context Switching in GitKraken

Every developer has had this experience. You’re knee-deep in a feature branch, you’re working through code that isn’t compiling, and you get the dreaded Teams message, “Something is broken in prod…” You’ve got a bunch of uncommitted changes, and for just a brief second, you panic. You can’t just keep the code changes uncommitted. You […]

useState props

Whenever you call useState in React, you get back two elements. The first value will always be its most recent state and the second value is the value you want to set state to. The const above is called array destructuring and in our particular instance, it’s used to give us direct access to the […]

Redux Reducers

In my current self directed learning path about React, I’m wrapping my head around Redux and how it’s used to manage state. In C# we have an Aggregate() method that takes in a collection and spits out a single value. For instance: Can you guess what the value of result is? If you guessed (or knew) 40, […]

How To Start with src and tests Folders in your Solution File in VS2019

Organizing your code into src and tests folders on GitHub seems to be getting more and more popular. However, in Visual Studio 2019, it’s not very easy to accomplish. Here is how I do it. Firstly, let me show you the final outcome: To get there requires some Command line. First open a Command window […]