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...
React Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
React
Why is mutating ref.current during the render body itself a mistake?
A
It's a syntax error
B
It breaks the render phase's purity requirement — Strict Mode's double-invoke or a discarded concurrent render can corrupt the ref
C
Refs can only be written to inside JSX
D
It causes an infinite loop
Check Answer