All challenges
Multiple ChoiceBeginner 30s

Env Vars

Server secrets in a Next.js app should live in:
Options
  1. 1localStorage, which the browser persists across every tab
  2. 2Server-only env vars, never prefixed with NEXT_PUBLIC_
  3. 3NEXT_PUBLIC_ vars, which Next.js inlines into the client bundle
  4. 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.

Play this in a 3-minute battle