no-ui-flash

Serve correct placeholder or final UI at first paint using edge-state signals.

99|6|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/vvedantb/eva --skill no-ui-flash
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: no-ui-flash
Source: https://github.com/vvedantb/eva/tree/main/.agents/skills/no-ui-flash
Command: npx skills add https://github.com/vvedantb/eva --skill no-ui-flash

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The client-rendered web experience often shows a suboptimal placeholder or a flashing UI before client-side data loads. This skill guides you to render the correct app-shell or a neutral skeleton at the edge, avoiding jarring transitions and ensuring a stable first paint.

Core Features & Use Cases

  • Edge-rendered gating: serve the appropriate shell or skeleton at the edge before the app hydrates.
  • Hint cookies and state signals: seed the correct UI for fast, correct rendering on subsequent loads.
  • Redirect-back (returnTo) flows: preserve deep links through login and onboarding redirects with safe return handling.
  • Testing the loading window: define tests that verify the loaded UI during data resolution and the absence of unnecessary flashes.

Quick Start

Test a gated route by delaying data resolution and verify the initial HTML serves the correct placeholder without flashing.

Frequently Asked Questions about no-ui-flash

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent UI flashes in an SPA during client-side hydration?

Preventing UI flashes in an SPA involves serving the correct edge-rendered placeholder or app-shell at first paint before client-side hydration occurs. This ensures a stable first paint by using verified edge-state signals to display the appropriate skeleton instead of a jarring transition.

What's the best way to preserve deep links through login redirects with returnTo?

The best way to preserve deep links through login redirects with returnTo is by validating the return path and enforcing safe return handling at the edge. This approach securely maintains the original destination URL throughout login and onboarding redirect flows.

How do I test the loading window behavior for SSR gated routes?

To test the loading window behavior for SSR gated routes, delay data resolution to verify the initial HTML serves the correct placeholder. This validates the loaded UI during data resolution and confirms the absence of unnecessary UI flashes.

Why does my SSR application show a suboptimal placeholder before data loads?

Your SSR application shows a suboptimal placeholder before data loads because the client-rendered experience lacks edge-driven state previews. Seeding non-HttpOnly hint cookies and state signals at the edge ensures the correct UI renders on subsequent loads without flashing.

Do I need edge rendering to stop UI flashing on subsequent page loads?

You need edge rendering to stop UI flashing on subsequent loads. By seeding non-HttpOnly hint cookies and applying edge-state signals, the application serves the correct app-shell or neutral skeleton at the edge before hydration occurs.

Can I use edge-state signals for gated routes in an SSR workflow?

You can use edge-state signals for gated routes in an SSR workflow. Edge-rendered gating serves the appropriate shell or skeleton at the edge before the app hydrates, preventing incorrect UI flashes for authenticated and protected routes.