Kyle Shevlin's Blog RSS Feed
Prefer Gaps To Margins
“Refactor” is Not a Scary Word
Fun Coding Exercise: Pyramid Slide Down
Algorithm: Sliding Window
The Consciousness Lottery
How I Built “Test Your Focus”
What ADHD Feels Like to Me
Prefer Explicit Maps
My <code>git</code> Workflow for Refactoring
Never Call <code>new Date()</code> Inside Your Components
Composable Flourishes
Prefer Alphabetized Object Keys
Responsive Design and Composition
Design System Retrospective
Prefer Noun-Adjective Naming
Prefer Multiple Compositions
<code>align-items: center</code> vs. <code>text-align: center</code>
Creating a React Native “Curved Bottom Bar” with Handwritten SVG
Tailwind “Minimum Full Height” Layout
Make Checkpoint
Agathist VSCode Themes
Two Types of Composition
Agathist Q&A
No Outer <code>margin</code>
Type <code>TODO</code>
Wrangling Tuple Types
UI Composition
Typescript Prevents Bad Things... and Good Things
Quit Your YAP-ing
Compound Components
Context, Composition, and Flexibility
Algorithms: Insertion Sort
Algorithms: Bubble Sort
JSX was a Mistake
Capture Phase Event Handling in React
Why Use <code>useReducer</code>?
Patterns for Functions with Conditionals
Updating State with a Component
Conway's Game of Life
The Simulation Pattern
The Wrapped State Setter Pattern
Parametric Design
The “Folded Code” Test
My Course Platform
How I Would Use a UI Library
What is a Factory Function?
Careful with Context Composition
Comparing `useRef` and `useState`
What is a Closure?
Prefer Function Updaters in State Setters
Dependency Injection and Default Parameters
Discriminated Unions and Destructuring in TypeScript
Prefer Declarative State Updaters
How I Structure My React Projects
What are “Magic Values”?
`useMemo` and Stable Values
Symbolic Logic
Set Theory
What is a Tuple?
Conditional React Hooks
Debounce and Throttle Callbacks with React Hooks
How to Use React Context Effectively
Facade Pattern
useEncapsulation
Encapsulation
Use Old School State
Helpful Debugging Hooks
Headlight Vision
Pattern Matching in JavaScript
Generator Functions
Multiple Boolean Props are a Code Smell
Mental Model of Use Effect
Tic-Tac-Toe in React
Using `React.memo` to Avoid Unnecessary Rerenders
Memoization: What, Why, and How
The Three Kinds of React State
Adding Guards to a `useReducer` Finite State Machine
Break Out Your Component Logic with Hooks
Adding Infinite States to a `useReducer` Finite State Machine
Can a State Machine be a String?
How to Use `useReducer` as a Finite State Machine
Guidelines for State Machines and XState
Managing Cyclomatic Complexity
Recursive React Components
Enumerate, Don't Booleanate
The Future of Second Career Devs
How to Render an Object in React
How to Add Algolia Search to a Gatsby Site
Graphs Are Everywhere
When `else`s Make Your Code Worse
A Plea for Imagination
Just Enough FP: Composition
Just Enough FP: Pointfree
Just Enough FP: Argument Order
Just Enough FP: Partial Application
Just Enough FP: Currying
Just Enough FP: Immutability
Just Enough FP: Pure Functions
Just Enough FP: Higher Order Functions
Just Enough Functional Programming Course Launch
Your Own Gathering
Firebase and Gatsby, Together At Last
State Machines: The XState Visualizer
State Machines: Our First XState Machine
State Machines: What Are They?
Why I Rewrote My Blog With Gatsby
The Importance of Competing Thoughts
The Role of Timing In a Job Hunt
How to be More Successful on Your Next Web Developer Job Hunt
3 Tips for Changing Your Career to Coding
Let Me Tell You About This Cat
From Pastor to Programmer
Not All “Just JavaScript” is the Same
How to Write Your Own JavaScript DOM Element Factory
My Mock Interview Experience with Rick Altherr from Google
Make Your Own Charts in React Without a Charting Library
How I Stumbled Upon Normalizing Redux State
ShevyJS
What I Love About React #1
What is Most Important to a Web Developer?
Renderless Components
Zeno's Paradox of Infinite Loop Scrolling
Head Scratcher #1
How to Dynamically Render React Components
Loading State Trick for Stateless Functional Components in React
How To Use Client Side Libraries in a Universal JavaScript App
State Snapshots in Redux
Why I Think Opening External Links In New Tabs Is a Bad Idea
JavaScript: External Links in New Tabs
Intro to D3.js and Data Visualization
Using && and || in Bash Scripts
My Favorite Git Aliases
Bash Shortcut: Copy your Present Working Directory to your Clipboard
Bash Shortcut: How to Make Directory and Change Directory in One Command
Small Gripe: Target=“_blank”