Editor JS, React and Content Streaming: Rendering content causes flickering on the UI #2610
Unanswered
lekipising
asked this question in
Q&A
Replies: 1 comment
-
I have the same issue atm. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am streaming editor js content and I want to render to Editor JS nicely as it comes. I am calling the
render
method to update the content. However, this causes flickering on the UI while the data is being updated.Rendering
I am doing this in a useEffect where I check the received data and extract complete blocks.
my editor js instance
When I stream the received content on a normal
p
tag, there is no flickering.Whats the best way to achieve smooth rendering (like chatGPT)?
Beta Was this translation helpful? Give feedback.
All reactions