perf: reduce widget and runtime overhead
This commit is contained in:
1 parent
5a7607ddf7
commit
14c7e58e17
33 files changed
+779
-339
No files matched your search
@@ -14,7 +14,7 @@ export const { componentLoader, definition } = createWidgetDefinition("mediaServ
|
||||
integrationIds: scope.integrationIds,
|
||||
showOnlyPlaying: scope.options.showOnlyPlaying,
|
||||
}),
|
||||
refetchInterval: 5,
|
||||
refetchInterval: 10,
|
||||
createOptions() {
|
||||
return optionsBuilder.from((factory) => ({
|
||||
showOnlyPlaying: factory.switch({ defaultValue: true, withDescription: true }),
|
||||
|
||||
Reference in new issue
Block a user