2021-02-17
1574
#vanilla javascript
Matthew Swensen
33999
Feb 17, 2021 ⋅ 5 min read

How polymorphic JavaScript functions affect performance

Matthew Swensen Principal software engineer and open source enthusiast.

Recent posts:

Debug Next.js apps with AI agents and next-browser

Debug Next.js apps with AI agents and next-browser

Learn how next-browser gives AI agents runtime context for debugging Next.js apps, including React props, hydration, PPR, forms, and performance.

Emmanuel John
Jun 17, 2026 ⋅ 9 min read
Dynamic LLM routing with OpenRouter and Next.js

Stop hardcoding LLM SDKs: Dynamic LLM routing with OpenRouter and Next.js

Build dynamic LLM routing in Next.js with OpenRouter, TanStack AI, task classification, model fallbacks, and cost-aware routing.

Chizaram Ken
Jun 16, 2026 ⋅ 13 min read
TSRX: TypeScript Render Extensions for React beyond JSX

What is TSRX?: What JSX would look like if it were designed today

TSRX adds first-class control flow, conditional hooks, and scoped styles to React via a TypeScript compiler extension — no new framework required.

Ikeh Akinyemi
Jun 12, 2026 ⋅ 6 min read
React Native authentication with Better Auth and Expo

How to add authentication to a React Native app with Better Auth

Learn how to build a full React Native auth system using Better Auth and Expo — with email/password login, Google OAuth, session persistence, and protected routes.

Chinwike Maduabuchi
Jun 9, 2026 ⋅ 13 min read
View all posts

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now