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
What is the correct fix for code that does `renderedText = event.delta.text` instead of `renderedText += event.delta.text` inside a streaming loop?
A
No fix needed, this is correct
B
Change = to += so each new fragment is appended to what's already rendered, not replacing it
C
Switch from streaming to non-streaming
D
Add a setTimeout before each assignment
Check Answer