Blog
Read my notes about software engineering, projects, and things I am learning.
- 01
Higher-Order Components in React ↗
An example-led introduction to sharing behavior between React components with the higher-order component pattern.
- 02
Send a Secret Message ↗
A practical explanation of asymmetric encryption and how public and private keys can be used to exchange sensitive information.
- 03
Viewport Tag in HTML ↗
Why responsive layouts can still look zoomed out on mobile, and how the viewport meta tag fixes the problem.
- 04
Throttle and Debounce ↗
A comparison of two techniques for limiting frequent browser events such as scrolling, resizing, and typing.
- 05
Finding the Type of Data in JavaScript ↗
A compact JavaScript reference for identifying strings, numbers, arrays, objects, and other common data types.
- 06
The JavaScript var Keyword ↗
An exploration of function scope, hoisting, and the surprising behavior that makes legacy var declarations difficult to reason about.
- 07
Arrow Functions or Normal Functions? ↗
A practical comparison of function syntax and the important differences in how arrow and normal functions handle this.
- 08
Closures in JavaScript ↗
How inner functions retain access to their outer scope, with examples of closures used for private state and reusable behavior.
- 09
Create a CLI Tool Using TypeScript ↗
A step-by-step account of building a TypeScript command-line tool that turns JSON data into readable console tables.
- 10
Debugging React ↗
A guide to diagnosing React applications with debugger statements, browser developer tools, and performance flame graphs.