You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeMirror is huge and we have to code-split it, which cases issues in CRA 2. react-simple-code-editor is a really tiny minimalistic code editor, that should be enough for our needs.
Note: we'll ether ship Highlight.js in the browser bundle, or migrate to Prism, if it's smaller. Or find another microlibrary that only highlights JS/JSX.
Note: it's likely a breaking change because the editorConfig option will be incompatible.
Some numbers (minified + gzipped, according to Bundlephobia):
CodeMirror is huge and we have to code-split it, which cases issues in CRA 2. react-simple-code-editor is a really tiny minimalistic code editor, that should be enough for our needs.
Note: we'll ether ship Highlight.js in the browser bundle, or migrate to Prism, if it's smaller. Or find another microlibrary that only highlights JS/JSX.
Note: it's likely a breaking change because the
editorConfig
option will be incompatible.Some numbers (minified + gzipped, according to Bundlephobia):
The text was updated successfully, but these errors were encountered: