@@ -549,7 +549,7 @@ Similar to re-frame subscriptions"
(and
(util/electron?)
((resolve 'frontend.handler.user/alpha-user?)) ;; using resolve to avoid circular dependency
- (not (false? (:feature/enable-whiteboards? (sub-config repo)))))))
+ (:feature/enable-whiteboards? (sub-config repo)))))
(defn export-heading-to-list?
[]
@@ -35,6 +35,8 @@ export class TLPage<S extends TLShape = TLShape, E extends TLEventMap = TLEventM
this.addShapes(...shapes)
makeObservable(this)
+ // Performance bottleneck!! Optimize me :/
+ // Instead of watch for every shape change, we should only watch for the changed ones
reaction(
() => ({
id: this.id,