SSR Options For Vite: Vike Vs SSRx With TanStack Router
Vite's SSR options compared: Vike & SSRx+TanStack Router, both offer unique features & trade-offs for cross-platform dev.
Let's compare two options to how we can achieve SSR with Vite. Either using Vike (aka. vite-plugin-ssr), or using SSRx with TanStack Router. We'll also inspect how good they are with respect to cross-platform development (web, and mobile with iOS and Android), specifically their compatibility with Expo for React Native. Both options offer: WinterCG standard focus (Fetch API, Request/Response). Hot-Module Reloading (HMR) on client (Vite default) AND server (Code splitting and bundling (Vite default?) Asset preloading Pre-rendering, HTML Streaming. No API routes HMR support on the client AND...