Commit 463dcfe
committed
Split the AceEditor into two files and use React.Suspense
This actually increases the number of requests by one. Previously:
1. Ace library
2. Ace theme
3. Ace keybinding
This adds:
4. Our Ace React component
This is on par with what the Monaco editor has been doing. Technically
it's better for the people who use the simple editor, but probably
slightly slower for the people using the default configuration.1 parent 50bd432 commit 463dcfe
File tree
7 files changed
+368
-489
lines changed- ui/frontend
- editor
7 files changed
+368
-489
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
0 commit comments