Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
willdr
· 3y ago · 0 comments
A better name for context is Client Context. On the server can you not just use a pojo?
Comments
[–]
djmashko2
3y ago
If you’re rendering multiple pages concurrently on the server, it’s nice to be able to know, for example, the current user without having to pass it down as a prop through the whole tree.
Context is a really nice way to do this.