mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Introduce clearer boundry between extensions (#7164)
- Bundled extensions are always enabled, and are always compatible - Have bundled extensions be loaded asyncronously to support typescript dynamic import (which is typed) as opposed to require Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
351f9d492f
commit
058494bc73
29 files changed
+440
-550
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ const flagRendererAsLoadedInjectable = getInjectable({
|
||||
|
||||
runInAction(() => {
|
||||
// Todo: remove this kludge which enables out-of-place temporal dependency.
|
||||
lensProtocolRouterMain.rendererLoaded = true;
|
||||
lensProtocolRouterMain.rendererLoaded.set(true);
|
||||
});
|
||||
},
|
||||
}),
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ const flagRendererAsNotLoadedInjectable = getInjectable({
|
||||
|
||||
runInAction(() => {
|
||||
// Todo: remove this kludge which enables out-of-place temporal dependency.
|
||||
lensProtocolRouterMain.rendererLoaded = false;
|
||||
lensProtocolRouterMain.rendererLoaded.set(false);
|
||||
});
|
||||
|
||||
return undefined;
|
||||
|
||||
Reference in new issue
Block a user