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
What happens to a component's EFFECTS (not its state) when its route is set to Activity 'hidden' mode?
A
Effects continue running indefinitely in the background
B
Effects are cleaned up while hidden, and recreated when the route becomes visible again — distinct from the component's plain state, which IS preserved
C
Effects and state behave identically — both are always preserved
D
Effects are permanently destroyed and never run again even if the route becomes visible
Check Answer