Blog

by Rap Payne

The secret to getting Jest to work with ES Modules

How to enable to use ES modules in a way that works on Windows, Mac, and Linux. The well-known problem is solved in a quick-and-dirty way and a graceful way.

by Rap Payne

TypeScript: Types vs Interfaces vs Classes – Which Should You Use?

A practical guide for experienced JavaScript devs: when to use a TypeScript type, interface, or class. Includes a handy flowchart.

by Rap Payne

Using a Kaggle Dataset to Train a ML Model in Google Colab

Learn how to train a machine learning model in Google Colab using a dataset from Kaggle. This step-by-step tutorial will guide you through dataset selection, training, evaluation, and saving your model for future use.

by Rap Payne

React with AI: Quickly Add an LLM in a React App

How your React app can consume an AI/ML model via the Hugging Face Inference API. We make it quick and easy.

by Rap Payne

Hugging Face API Keys made Easy

You need Hugging Face security tokens to use their models and they're not super easy to understand. We spill the tea in this post.

by Rap Payne

A11y: The Ethical Dilemma Every Dev Needs to Face

Accessibility is more than a legal requirement—it's an ethical decision that reflects our values as developers and as a society.

by Rap Payne

Stop writing React local styles! Use the Component-Classname Pattern

A better pattern of styling React components that combines the strengths of traditional CSS while staying encapsulated and local.

by Rap Payne

React vs Angular vs Vue vs Svelte; Which Framework Should You Choose?

A comprehensive comparison of React, Angular, Vue, and Svelte to help you decide which framework is best for your next project.

by Rap Payne

Flutter Forms Validation - the Ultimate Guide

Form validation in Flutter is wierdly complicated. Let's create a fun li'l app that validates user input.