default prop values in react

2019-04-05

 | 

~2 min read

 | 

316 words

What value does a prop get if no value is assigned? To think about this more tangibly, imagine you have a higher order component, . That…

react lifecycle methods - a primer with react 16

2019-04-04

 | 

~3 min read

 | 

490 words

One of the things that I didn’t appreciate when I first started using React was how helpful the different lifecycle methods were. I got away…

rename variable while destructuring in javascript

2019-04-04

 | 

~2 min read

 | 

205 words

I recently came across a situation where I had two different props in a component that had the same name (they were in different parts of…

copying data from one column to another with sql

2019-03-08

 | 

~2 min read

 | 

214 words

If you need to copy all data from one column to another column in SQL, use the method. If it’s a simple copy for copy, without conditionals…

`.d.ts` files and typescript interfaces

2019-03-08

 | 

~2 min read

 | 

220 words

The file is a declaration file. In this case, it’s a declaration file for Typescript files. What does that actually mean though? The…

Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!