Framework limitations, anchor positioning basics, and building without JavaScript dependencies. Plus find your fix for the trending articles and tools in the developer space.

View in browser | Past Issue | Subscribe / Unsubscribe

SitePoint Source

Welcome, Developers! πŸ‘‹

This week we're diving into Next.js middleware frustrations, CSS Anchor Positioning for flexible layouts, and JavaScript-free fallback strategies. Plus learn about cURL debugging workflows and the reliable Beacon API for handling user departures gracefully.

From our sponsor: Ampere Computing

Ampere ARM64: Understanding Crypto Libraries  

Cryptography is the science of securing communication and data, ensuring confidentiality, integrity, and authenticity. It is widely used in web services, load balance proxies, databases etc.

Learn More

πŸ”– The Reading Room

Articles we have hand-picked for you:

Next.js is infuriating

Next.js middleware promises easy logging and authentication but delivers frustration instead. The author discovers you can only pass 4 parameters from middleware, can't chain multiple middlewares, and AsyncLocalStorage doesn't work as expected. The "solution" involves hacky header manipulation that splits your codebase into incompatible parts.

By Dominik Meca β†’

The Basics of Anchor Positioning

With traditional CSS positioning, you can only position elements relative to their parents, often requiring HTML restructuring. But CSS Anchor Positioning lets you position any element relative to any other element, regardless of their DOM relationship. Currently supported in Chrome and Edge only.

By Ahmad Shadeed β†’

Why You Should Test Your Page Without JavaScript

Mobile users on slow networks and those using privacy tools may not load your JavaScript. Create fallback experiences using server-rendered HTML and noscript tags to explain functionality requirements. Even complex web apps can provide informative messages when scripts are essential.

By Ilknur Eren β†’

Convenient 'Copy as cURL': explicit, executable, editable request replays

Transform browser network requests into editable cURL commands for faster debugging cycles. The executable output captures all headers, authentication, and data exactly as sent, enabling quick edit-test-repeat loops that cut through noise to identify root causes efficiently.

By Huon Wilson β†’

Say Bye With JavaScript Beacon

Traditional fetch requests in beforeunload events are unreliable because browsers can't wait for JavaScript execution when users navigate away. The Beacon API solves this with a fire-and-forget approach that guarantees data delivery. It's perfect for analytics and auto-logout functionality when users leave your website.

By Hemath Kumar→

⏳ Back in Time

Most clicks from last newsletter:

πŸ”— The Link Lounge 

Unordered finds from around the web:

Find something cool? You can send us links to feature here via email.

🧰 The Toolbox

Tools and products we're excited about today:

WrenAI

WrenAI is a generative business intelligence agent that lets users query databases using natural language to instantly generate accurate SQL, charts, and AI-powered insights without needing SQL knowledge.

Learn more β†’

Actions Up

Actions Up scans GitHub workflows to discover outdated actions, then interactively updates them to latest versions with secure SHA pinning for better security and reproducible CI.

Learn more β†’

LiftKit 

LiftKit is a UI framework based on the golden ratio that provides formulas and variables for advanced visual design features like optical spacing corrections and dynamic color, powered by Material 3.

Learn more β†’

Rspack 1.5

Rspack is a high-performance JavaScript bundler written in Rust that provides webpack-compatible APIs with significantly faster build times through native performance optimizations and advanced features. It's gotten updated with new features.

Learn more β†’

Ampere ARM64: Understanding Crypto Libraries

Cryptography is the science of securing communication and data, ensuring confidentiality, integrity, and authenticity. It is widely used in web services, load balance proxies, databases etc.

Learn more β†’

🎀 Your Voice

Your feedback shapes what comes next! We read every email, so simply hit reply and tell us what's on your mind.