Fix config reload state imports (#7028)
Closed
HA
3mo ago+369+369+012345678901234567890123456789-22-22-01234567890123456789
• ## Summary
Fixes: #7028
Fix reload_config() raising StateValueError when rxconfig.py imports a
module that defines a rx.State class.
Changes
-
Preserve project-local dependencies during reloads within the same
RegistrationContext. -
Continue evicting dependencies for new contexts or different project
roots. -
Added regression tests for state reloads, fresh contexts, and cross-
project isolation. -
Added a reflex-base bugfix changelog fragment.
Testing
- Focused regression tests: 3 passed
- Ruff check and formatting: passed