← BigBasket questions

Next.js Rendering and JWT Authentication

Filed under BigBasket

The question

Explain the differences between Client-Side Rendering (CSR) and Server-Side Rendering (SSR) in Next.js and when to use them. Also explain what JWT tokens are, how they are used in authentication, their structure, where they are stored, and the general authentication flow.

No write-up yet. Related questions below have one.

Collected from public candidate posts and coding forums. Updated Nov 2026.