Multiple ChoiceBeginner 30s
Env Vars
Server secrets in a Next.js app should live in:
Options
- 1localStorage, which the browser persists across every tab
- 2Server-only env vars, never prefixed with NEXT_PUBLIC_
- 3NEXT_PUBLIC_ vars, which Next.js inlines into the client bundle
- 4Client bundle constants, compiled straight into the shipped JS
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.