Core Web Vitals Optimization for Vite and React SPAs - Optimizing Largest Contentful Paint (LCP) and Cumulative Layout Shift (CLS) in client-rendered React and Vite Single-Page Applications (SPAs) backed by static HTML skeletons requires keeping entry bundles free of bulk documentation payloads, locking navigation bar geometry across asynchronous auth/data fetches, aligning pre-hydration skeleton CSS with hydrated components, and preloading primary web fonts early.