reflex/tests/components/core
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
..
__init__.py rx.color to work with conditional vars (#2546) 2024-02-08 11:45:15 -08:00
test_banner.py Radix 3.0 (#3159) 2024-04-25 08:33:29 -07:00
test_colors.py Update CodeBlock class to accept rx.color in custom_style (#3168) 2024-05-01 14:48:33 -07:00
test_cond.py fix rx.cond with ComputedVars and use union type (#3336) 2024-05-19 12:14:46 -07:00
test_debounce.py generate pyi files when building/publishing 3rd party component (#2945) 2024-03-29 09:54:21 -07:00
test_foreach.py [REF-2821]Improve Dynamic Imports (#3345) 2024-05-31 16:43:10 +00:00
test_html.py [REF-2574] Default width for Stack (+children) and default padding for container (#3104) 2024-04-30 13:15:57 -07:00
test_match.py generate pyi files when building/publishing 3rd party component (#2945) 2024-03-29 09:54:21 -07:00
test_responsive.py generate pyi files when building/publishing 3rd party component (#2945) 2024-03-29 09:54:21 -07:00
test_upload.py Refactor upload component and add styled upload component (#3035) 2024-04-24 13:45:22 -07:00