react-simple-code-editor icon indicating copy to clipboard operation
react-simple-code-editor copied to clipboard

use react-syntax-highlighter

Open zheNeng opened this issue 6 years ago • 0 comments

Current behaviour

任何的输入,会导<pre></pre>内元素的全量渲染,在大段代码进行更新的时候,会有一些卡顿。

Expected behaviour

在进行代码编辑的时候,只是触发那个元素的更新。

What have you tried

我正在尝试使用 prism-react-renderer 进行渲染.

zheNeng avatar May 27 '20 09:05 zheNeng