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
medium
State Management
What's the benefit of useAtomValue over useAtom when a component only reads an atom's value?
A
There is no difference
B
useAtomValue avoids subscribing to the setter-related machinery a read-only component doesn't need
C
useAtomValue is required for TypeScript support
D
useAtom cannot read atom values
Check Answer