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 Architecture Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Frontend Architecture
How does the Dependency Inversion Principle apply to frontend API integration?
A
By placing all api requests directly inside useEffect loops
B
By using absolute paths for imports instead of relative paths
C
By injecting an abstract API client interface into components rather than hardcoding concrete fetches
D
By caching all server responses in localStorage
Check Answer