Building a react x electron code editor pt.4 - performance: memoizing and virtualization
recap
With a simple Lexer working to tokenise javascript code into tokens, we moved on to build a simple editor to view how the tokeniser works.
the structure
The 'editor' is actually a list of <div> tags which display <span> tags. These <span> tags ...