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...
Frontend Performance Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Frontend Performance
In the Try It scenario, why does the ExpandableSection remain expanded after navigating away and back?
A
This is a bug that shouldn't happen
B
The route was set to Activity 'hidden' mode rather than unmounted on navigation away — the exact same component instance persisted, so its isOpen state was never reset
C
State is always preserved in React regardless of navigation, by default
D
The expanded state was saved to a database automatically
Check Answer