T
TanStack2d ago
correct-apricot

TanStack learning-questions on some tips from https://tanstack.com/start/latest/docs/framework/react

I have been going through learning materials on TanStack page and stumbled upon two things i am not fully clear how to perform: 1. In Production Checklist it says "Bundle Analysis: Verify server-only code isn't in client bundle" - so i go to client bundles (dist/client/) and verify... imports? How to determine what to check? 2. In Build Errors in Production it says "Validate required variables at build time" - so i should go to server bundles (dist/server/) and look for all environment variables?
Environment Variables | TanStack Start React Docs
Learn how to securely configure and use environment variables in your TanStack Start application across different contexts (server functions, client code, and build processes). Quick Start TanStack St...
Code Execution Patterns | TanStack Start React Docs
This guide covers patterns for controlling where code runs in your TanStack Start application server-only, client-only, or isomorphic (both environments). For foundational concepts, see the guide. Qui...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?