Skip to main content
Reggie Pangilinan
HomeBlogAbout
GitHubLinkedIn

© 2026 reggiepangilinan.com All rights reserved.

GitHubLinkedIn
Writing·15 articles·RSS

Blog Posts

Technical insights, tutorials, and thoughts on software engineering, leadership, and technology.

Showing 3 articles in React
How My Related Posts Component Works (Zero Manual Maintenance, Driven by Tags)
December 2, 2026·Reggie Pangilinan

How My Related Posts Component Works (Zero Manual Maintenance, Driven by Tags)

Why I replaced manual cross-links with a tag-scored RelatedPosts component in Next.js 16—and the exact ranking logic behind it.

A breakdown of how RelatedPosts picks the top 3 related articles using case-insensitive tag overlap, recency tie-breaking, parallel fetching, and 24-hour ISR caching.

Read article→
Auto-Embedding GitHub Gists in Contentful Rich Text with Lazy-Loaded PrismJS
December 2, 2026·Reggie Pangilinan

Auto-Embedding GitHub Gists in Contentful Rich Text with Lazy-Loaded PrismJS

Paste a Gist link on its own line in Contentful and get syntax-highlighted code—without shipping a syntax highlighter to posts that don't need one.

How RichTextRenderer detects standalone GitHub Gist URLs in Contentful Rich Text and renders them via a custom GitHubGist component with dynamically imported PrismJS grammars.

Read article→
June 24, 2025·Reggie Pangilinan

NextJS Tips - Choosing the right rendering strategy: SSG vs SSR vs ISR vs CSR

Using the pages in this website as an example

Next.js offers a range of powerful rendering strategies that allow developers to optimize web applications for performance, SEO, and user experience based on the specific needs of each page.I will break down each one and discuss why I chose a particu...

Read article→