Lazy load routes

This commit is contained in:
Gregory Schier committed 2023-03-13 13:56:13 -07:00
1 parent 359e916b73
commit 8be4971a23
6 files changed
+29 -29

No files matched your search

+4 -2
View File
@@ -109,8 +109,10 @@ export const baseExtensions = [
drawSelection(),
dropCursor(),
bracketMatching(),
debouncedAutocompletionDisplay({ millis: 1000 }),
autocompletion({ closeOnBlur: true, interactionDelay: 200, activateOnTyping: false }),
// TODO: Figure out how to debounce showing of autocomplete in a good way
// debouncedAutocompletionDisplay({ millis: 1000 }),
// autocompletion({ closeOnBlur: true, interactionDelay: 200, activateOnTyping: false }),
autocompletion({ closeOnBlur: true, interactionDelay: 300 }),
syntaxHighlighting(myHighlightStyle),
EditorState.allowMultipleSelections.of(true),
];