reflex/reflex
Elijah Ahianyo 34bf25071a
[REF-2821]Improve Dynamic Imports (#3345)
* Improve import times

* add lazy loading to rx.el

* add lazy loading to reflex core components

* minor refactor

* Get imports working with reflex web

* get imports to work with all reflex examples

* refactor to define imports only in the root.

* lint

* deadcode remove

* update poetry deps

* unit tests fix

* app_harness fix

* app_harness fix

* pyi file generate

* pyi file generate

* sort pyi order

* fix pyi

* fix docker ci

* rework pyi-generator

* generate pyi for __init__ files

* test pyright

* test pyright ci

* partial pyright fix

* more pyright fix

* pyright fix

* fix pyi_generator

* add rx.serializer and others

* add future annotation import which fixes container CI, then also load recharts lazily

* add new pyi files

* pyright fix

* minor fixes for reflex-web and flexdown

* forward references for py38

* ruff fix

* pyi fix

* unit tests fix

* reduce coverage to 68%

* reduce coverage to 67%

* reduce coverage to 66%as a workaround to coverage's rounding issue

* reduce coverage to 66%as a workaround to coverage's rounding issue

* exclude lazy_loader dependency review checks.

* its lazy-loader

* Add docstrings and regenerate pyi files

* add link

* address Pr comments

* CI fix

* partially address PR comments.

* edit docstrings and fix integration tests

* fix typo in docstring

* pyi fix
2024-05-31 16:43:10 +00:00
..
.templates Radix Themes + Tailwind Harmony (#3355) 2024-05-28 12:21:28 -07:00
compiler [REF-2764] dep update 0.5.0 (#3245) 2024-05-07 15:15:52 -07:00
components [REF-2821]Improve Dynamic Imports (#3345) 2024-05-31 16:43:10 +00:00
constants Recommend Running with REFLEX_USE_NPM=1 if npm run fails after installing packages with bun. (#3399) 2024-05-30 15:57:15 -07:00
custom_components Use twine environment variables if set (#3353) 2024-05-21 14:43:49 -07:00
experimental [REF-2821]Improve Dynamic Imports (#3345) 2024-05-31 16:43:10 +00:00
middleware feat: Synchronizing localStorage between tabs using browser events (#2533) 2024-02-20 15:14:55 -08:00
utils [REF-2821]Improve Dynamic Imports (#3345) 2024-05-31 16:43:10 +00:00
__init__.py [REF-2821]Improve Dynamic Imports (#3345) 2024-05-31 16:43:10 +00:00
__init__.pyi [REF-2821]Improve Dynamic Imports (#3345) 2024-05-31 16:43:10 +00:00
__main__.py add __main__ entry point to allow python -m reflex (#1516) 2023-08-03 14:26:50 -07:00
admin.py Allow view overrides for registering models with admin (#1249) 2023-06-27 14:08:09 -07:00
app_module_for_backend.py Catch more errors in frontend/backend (#3346) 2024-05-20 16:55:41 -07:00
app.py [REF-2821]Improve Dynamic Imports (#3345) 2024-05-31 16:43:10 +00:00
base.py [REF-2774] Add ReflexError and subclasses, send in telemetry (#3271) 2024-05-10 12:12:42 -07:00
config.py add config knob for react_strict_mode. default to True. also cleanup unused code (#3389) 2024-05-29 11:49:04 -07:00
event.py url quote the str data passed to rx.download (#3381) 2024-05-24 09:44:09 -07:00
model.py [REF-2764] dep update 0.5.0 (#3245) 2024-05-07 15:15:52 -07:00
page.py separate DECORATED_PAGES per reflex app (#3102) 2024-04-22 11:32:31 -07:00
reflex.py Clean up config and app API (#3197) 2024-05-02 18:15:28 -07:00
route.py [REF-2643] Throw Errors for duplicate Routes (#3155) 2024-05-03 12:15:40 -07:00
state.py Explicit deps and interval for computed vars (#3231) 2024-05-28 12:27:27 -07:00
style.py [REF-2878] Map fontFamily to fontFamily and --default-font-family (#3380) 2024-05-23 15:54:39 -07:00
testing.py set config.deploy_url during AppHarness tests (#3359) 2024-05-23 09:23:07 -07:00
vars.py Explicit deps and interval for computed vars (#3231) 2024-05-28 12:27:27 -07:00
vars.pyi Explicit deps and interval for computed vars (#3231) 2024-05-28 12:27:27 -07:00