DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
State Management Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
State Management
Why does `useStore((s) => ({ count: s.count, user: s.user }))` re-render on every store update, defeating the point of selecting?
A
Zustand doesn't support selecting multiple fields
B
The selector constructs a NEW object literal every call; Zustand's default equality check is reference equality, so a new object reference never matches the previous one
C
This is a syntax error
D
It only happens in development mode
Check Answer