When I have a lot of text on the editor, it starts slowing down quite considerably. I suspect it's because of updating state all the time whenever a keystroke is made, and when there is a lot of code, there is a lot to update.
I'm basically using the example code onChangeBefore on the Controlled version. Around 400 lines and it becomes unusable. Should I have like a timeout or something?
Hey there,
When I have a lot of text on the editor, it starts slowing down quite considerably. I suspect it's because of updating state all the time whenever a keystroke is made, and when there is a lot of code, there is a lot to update.
I'm basically using the example code onChangeBefore on the Controlled version. Around 400 lines and it becomes unusable. Should I have like a timeout or something?
Sorry if this is dumb. :)