Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#React

Advanced AI Prompt for React SSR Performance Tuning with Vite

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-vite-react-ssr-performance.txt
Act as a Principal Full Stack Architect. Configure Vite for an entirely custom, hand-rolled React Server-Side Rendering (SSR) architecture (bypassing Next.js). Surgically optimize the [SSR_ENTRY_POINT] configuration to definitively separate Node.js server-only dependencies from the compiled client-side hydrate bundle. Architect and implement a [PREFETCH_STRATEGY] utilizing Vite's `transformIndexHtml` hook to dynamically inject `<link rel='preload'>` tags into the DOM for critical data payloads and chunked assets before the HTML stream finishes. Output the precise `vite.config.ts` `build.ssr` configuration object, and write a technical mandate on exactly how to resolve CSS-in-JS style extraction during the Node.js render phase to absolutely prevent a Flash of Unstyled Content (FOUC).

Example Text Output

"The AI will deliver a sophisticated SSR configuration for Vite that handles hydration and server-side asset mapping efficiently."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for React SSR Performance Tuning with Vite" prompt used for?

The AI will deliver a sophisticated SSR configuration for Vite that handles hydration and server-side asset mapping efficiently.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.