Blog
Posts in TypeScript
Thoughts, tutorials, and insights on design, development, and technology.

Vectorless RAG: Why It Exists and What's Wrong with Vector Embeddings
Vector RAG has real flaws — bad chunking, lost structure, weak exact matches. Learn why vectorless RAG exists and when to use it, with TypeScript.

LangChain for JS Developers: Models, Prompts, Memory & Chains
A practical guide to LangChain for JavaScript and TypeScript developers. Learn Models, Prompt Templates, Output Parsers, Memory, and Chains — with real code examples you can use today.

Build an MCP Server in TypeScript and Use It in Cursor: A Hands-On Guide
Step-by-step guide to building a Model Context Protocol (MCP) server in TypeScript: tools, resources, prompts, testing with MCP Inspector, and connecting it to Cursor — plus the GitHub and Playwright MCP servers.

Payload CMS Rich Text That Editors Control: A Lexical Configuration Guide
Configure Payload CMS 3 Lexical rich text so editors get custom blocks, callouts and code snippets without breaking your design system — with config and React rendering examples.

TypeScript Generics for React Components: 5 Patterns That Keep UI Honest
Practical TypeScript generics for React UI components: polymorphic 'as' props, generic tables and selects, keyof constraints, const type parameters and NoInfer — with examples.

JavaScript Module Boundaries That Scale: Feature Folders, Public APIs and Lint-Enforced Imports
How to design module boundaries in large JavaScript and TypeScript codebases: feature folders, public index files, package.json exports, lint-enforced import rules, circular dependency checks and barrel-file pitfalls.
.png&w=3840&q=75)