Today I’m excited to share something incredibly simple…. GitHub has it’s own hosting called GitHub Pages, and it is SO easy to set up!
GitHub Pages allows users to host simple (and some more complex) website and website features, directly from their GitHub project file.
The best part is how SIMPLE it is to set up!
Every developer knows about fetch requests… Axios is essentially an NPM alternative to “fetching” data, with some cool additional features. With over 18 million weekly downloads, if you aren’t familiar with Axios, I definitely recommend checking it out!
So let’s take a quick look at some of the extra features Axios can offer:
First and foremost, one of my favorite things about Axios…
When it comes to React hooks, I’d personally say the useContext hook via the context API is probably one of the more easy to use, useful, and powerful features available when it comes to state management.
In React, context provides a way to pass data through a component tree without having to pass down props manually through every level.
The useContext hook provides a way to consume context in a functional component, essentially allowing us to pass state, or the function to set state, to any component without passing it down the entire tree as a prop (we all know…
There are a lot of use cases where triggering audio can come in handy… whether that’s a simple sound effect to let a user know that something worked (or didn’t), or building something audio centric like a drum rack or a sound board.
First let’s set up our environment.. in your terminal create and navigate into a new folder:
Then create the couple of files we will need:
touch index.html index.html index.css
The useEffect hook is incredibly useful. It’s yet another handy feature released not too long ago as a React Hook, a way to manage component lifecycles and app state inside of functional components.
The useEffect hook essentially replaces the componentDidMount lifecycle function from a class component, but useEffect is used in a functional component.
UseEffect is most commonly used to set a piece of state to that component, fetch data, reading from or writing to local storage, or setting event listeners.
The main functionality is that the useEffect will happen upon the initial render of that component, and allows for…
If you’re not yet familiar with the useState and useEffect hooks, I highly recommend checking them out. They are the most commonly used hooks, which are essentially how React now manages state in (what used to be considered “stateless”) functional components.
In a recent interview, I was asked to refactor one of my Class components into a functional component. As I began building out the functional component, setting state with useState hooks, and changing my componentDidMount to a useEffect hook, I was presented with a new problem. How to prevent my useEffect from re-rendering excessively?
According to the React Documentation…
One of the main reasons I got into software & web development is my obsession with music technology. There are SO many amazing music programs out there, from the many music streaming / listening apps, to a nearly uncountable amount of music production softwares, to an expansive library of music theory helpers, and an ever-growing number of instrumentation practice tools.. and beyond.
Obviously there’s a TON of creativity, inspiration, knowledge, and talent behind all of these examples, which reach deeply into and pull fruitfully out of some wildly different creative rabbit-holes.
Here’s a quick look at just a few of…
Even if you’re new to coding, chances are you’ve already taken a dive into looping. There are infinite different use cases for looping, the main idea being that it is a way to repeat something cyclically until a certain condition is met.
In general, there are two main types of loops: Definite and Indefinite.
Definite loops repeat a certain set of instructions a certain number of times, and are implemented using count control — these are your For, For..In, and For..Of loops. Indefinite loops repeat a certain set of instructions until a specific condition is met — these are your…
Whether you’re learning to code, looking for a coding job, or trying to make a specific coding task more efficient, Big O Notation is something you’re either already thinking about, or should be thinking about.
Simply put, Big O Notation is the comparison of how efficiently one solution to an algorithm runs compared to others. It’s the mathematical way of recognizing how demanding a solution is as the inputs grow to be very, VERY large.
Big O Notation applies to both time and space; think about how much time an algorithm will take to run as the inputs get very…
Seven months ago I was presented with an idea…
The idea was to turn my focus from Software Sales to Software Development.
As a creative individual who had just spent 6 years in sales, this seemed like the most frightening and exciting idea I’d ever considered.
I graduated last week from Flatiron Schools Software Engineering Immersive program in Denver, and could not be more excited about the decision I’ve made, and the future it holds.
In a mere 7 months, I went from “what does that question even mean?!” …
Denver, CO based. Software Sales turned Software Engineer.