Angular · Senior · Question 67 of 75

In Angular SSR, where does user data typically leak between requests?

Explanation

Avoid module-level mutable state (like let cache = {} outside a class); keep state in services so it's scoped per request.

Further reading

Problem with a question

Angular · Senior · question 67

Test yourself

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

Take this quiz