Browse Source

prevent repeat compiles on frontend only apps (#5017)

Khaleel Al-Adhami 1 tháng trước cách đây
mục cha
commit
2bc3499ae4
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      reflex/app.py

+ 0 - 2
reflex/app.py

@@ -1108,8 +1108,6 @@ class App(MiddlewareMixin, LifespanMixin):
         if config.react_strict_mode:
         if config.react_strict_mode:
             app_wrappers[(200, "StrictMode")] = StrictMode.create()
             app_wrappers[(200, "StrictMode")] = StrictMode.create()
 
 
-        should_compile = self._should_compile()
-
         if not should_compile:
         if not should_compile:
             with console.timing("Evaluate Pages (Backend)"):
             with console.timing("Evaluate Pages (Backend)"):
                 for route in self._unevaluated_pages:
                 for route in self._unevaluated_pages: