Closed andyrichardson closed 3 years ago
We added async syntax highlighting to address performance issues.
That has addressed the perf issues, but it looks to have introduced a bug.
The code block cleans up on unmount, but not when the code (passed via props) changes while the component is mounted. This causes the old code to overlap with the new code.
I'm guessing the issue is due to this statement
This will be fixed with the next release!
About
We added async syntax highlighting to address performance issues.
That has addressed the perf issues, but it looks to have introduced a bug.
The code block cleans up on unmount, but not when the code (passed via props) changes while the component is mounted. This causes the old code to overlap with the new code.
I'm guessing the issue is due to this statement