How to update state of editor without Re-render #282
Unanswered
levi-katarok
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I've poured over all the discussions and code I could here but haven't been able to figured out/find out how to just update any or all of the current content in the Editor React component without forcing a re-render. I just want to stream in text and it's stumped me!
Any help is greatly appreciated. For reference this is how I'm handling it now
setEditorContent(prevContent => prevContent + chunksBuffer);
but every chunk forces a clunky re-render
Beta Was this translation helpful? Give feedback.
All reactions