Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Advanced Frontend Architecture & DX: Using Localhost Tunnels for Faster Development Loops

Frontend feedback loops slow down when every check needs a deploy. Waiting on a preview environment or a CI pipeline just to see a visual change on a phone, or to test a micro-frontend against a real shell, adds friction and cost. A localhost tunnel is one way to shorten that loop. A small agent on your machine makes an outbound connection to a relay, and the relay gives your local server a…

Frontend development workflows often suffer from lengthy feedback loops due to the need for deploys or preview environments to view visual changes. Locally hosted tunnels allow developers to shorten these loops by providing a public HTTPS URL for local servers. This article explores three patterns for using localhost tunnels: running Playwright visual regression tests, testing feature flags on real devices, and overriding micro-frontends in deployed shells with Shadow DOM isolation.

Tunnel selection depends on factors such as stable URLs, notable limits, and best use cases. Some popular options include ngrok (free), Cloudflare Quick Tunnel, and localtunnel. Each has its trade-offs in terms of free plans, domains, SLAs, and support for Server-Sent Events.

When using ngrok's free plan, requests made by the test browser are subject to an interstitial warning page, which can be bypassed by adding an ngrok-skip-browser-warning header to the request. This detail is crucial for scripts and assets being loaded during testing. Overall, understanding the capabilities and limitations of each tunneling option helps developers choose the best tool for their specific development workflows.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

The Field Type You Pick in Ten Minutes Is a Ten-Year Decision

Mei runs procurement at an equipment manufacturer with about 700 people. Their platform went live three years ago. Last month she asked me a question that sounded like a two-minute request.

  • Choosing a field type in low-code platforms is a ten-year decision.
  • Wrong field type choice can lead to significant headaches.
  • Field type impacts database functionality and object states.

CVE-2026-96889: Next.js Image Optimization RCE Vulnerability — Analysis & Mitigation

Originally published at https://faizanakhtarcyber.blogspot.com/2026/10/cve-2026-96889-nextjs-image-optimization-rce-analysis.html On October 14, 2026, Vercel shipped an out-of-band security release…

  • Vercel released emergency update on Oct 14, 2026 to fix CVE-2026-96889
  • Image Optimization API flaw allows remote code execution with no authentication
  • Vulnerable versions include all releases from 10.0.0 onward, affecting millions of sites

Stop hand-writing TypeScript interfaces from API responses. Seriously.

I kept a file in one project called types.ts that was substantially a transcription service. Every time the backend added or changed a response shape, I'd paste the sample JSON into a comment and…

  • Author avoids hand-writing TypeScript interfaces by using TypeGen tool
  • TypeGen generates clean interfaces from JSON or CSV payloads
  • Generated interfaces explain assumptions and flag ambiguous fields for manual review

More from Saturday, 17 October 2026 →