Design Patterns · Senior · Question 48 of 75

How do Server Components change architecture compared to an SPA?

Explanation

The 'use client' boundary becomes an architectural decision: where state and handlers live, and where data and secrets are accessed. Client JS shrinks, and part of the client-side API and cache layer disappears, but new questions arise - server-side caching and props serialization.

Further reading

Problem with a question

Design Patterns · Senior · question 48

Test yourself

Take the Design Patterns · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz