If you find yourself typing in cd… a lot in MacOS Terminal and you’re running zsh, you can add a shortcut, or alias to your .zshrc resource file. Here’s how: From a new terminal window, type This will open that resource file in nano and it’s ready for editing. Scroll all the way to the…
Read more Add an Alias to MacOS Terminal
I’ll be honest. I don’t have a lot of experience in git. Most of my experience, for one reason or another is with SVN and TFS. At my day job, we made the decision to move from TFS to Git (specifically GitHub) and the transition hasn’t been easy….to say the least. We also decided to…
Read more GitKraken or How I Learned to Love Git
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…
Read more useState props
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,…
Read more Redux Reducers
I haven’t jumped into state in functional components yet. But I am learning about state in class components. When building a class in React, it’s helpful to extend (in C# we call this an override (inheritance)) React.Component. In order to pass arguments (props) to this class though, you must pass the props into the class constructor as well…
Read more Stateful Components in React
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…
Read more How To Start with src and tests Folders in your Solution File in VS2019
I cloned a repository that was targeting .NET Core 3.1. Trying to run it in VS 2019 ended with this error: The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 2.0 or lower, or use a version of the .NET SDK that supports .NET Core 2.1. I looked at…
Read more .NET Core 3.1 Missing From Target Framework in VS2019