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...
AI for Frontend Developers Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
AI for Frontend Developers
Why should a user's own message be rendered optimistically, before the network request completes?
A
It's required by the API
B
Without it, the user's own typed text appears to vanish into a loading spinner for however long it takes the assistant to start responding, which reads as broken
C
It reduces token cost
D
It's only relevant for non-streaming requests
Check Answer