Remove getRefValue and getRefValues from state.js before 1.0
Los mantenedores suelen responder en 1 día
@harsh21234i ya está trabajando en esto.
Desde el 2/10/2026.
- #7399 de @harsh21234i — cerrado sin fusionar
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, python
- Área
- build-system, testing-qa
Línea de trabajo
Start with the root pyproject.toml and package metadata under packages/ to trace every reflex-components-core floor, then inspect packages/reflex-base/src/reflex_base/.templates/web/utils/state.js and tests/units/compiler/test_state_js_template.py. Check the existing news fragments and AppHarnessProd usage before making changes. Done means stale exports and their test are removed, dependency floors and a breaking fragment are updated, and the oldest allowed core combination builds a minimal form in production mode.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Background
reflex-dev/reflex#7386 changed form submission to read field values only from FormData, by name, through the new getFormData helper. Forms no longer read values through id refs, so nothing in the current framework calls getRefValue or getRefValues in $/utils/state (packages/reflex-base/src/reflex_base/.templates/web/utils/state.js).
They were kept anyway. Published reflex-components-core releases up to 0.9.10.post1 compile every form's submit handler with imports of both helpers. A new reflex-base paired with one of those releases fails the production build:
[MISSING_EXPORT] "getRefValue" is not exported by "utils/state.js".
[MISSING_EXPORT] "getRefValues" is not exported by "utils/state.js".
That pairing is still allowed. #7386 floors reflex-components-radix on reflex-components-core >= 0.9.10.post2.dev0, which covers installs through reflex. But other dependents still admit older core releases:
reflexitself declaresreflex-components-core >= 0.9.6.- Several component packages declare
>= 0.9.0.
Upgrading only reflex-base next to an older reflex can also reach the old core.
Task
Before 1.0:
- Raise every declared
reflex-components-corefloor so that no allowed release predates thegetFormDatasubmit hook. That means the first core release containing #7386, in the rootpyproject.tomland the other packages underpackages/. - Remove
getRefValueandgetRefValuesfromstate.js. They're marked "Kept for forms compiled by reflex-components-core releases that read field values from refs". - Remove
test_state_js_keeps_ref_value_exports_for_older_form_componentsfromtests/units/compiler/test_state_js_template.py. Point the slice end intest_merge_slot_props_handles_conditional_event_handlers(currentlyexport const getRefValue =) at the next export. - Add a
breakingnews fragment inpackages/reflex-base/news/for anyone importing the helpers in custom JS. - Verify the oldest allowed combination still builds a form in production mode. For example: install the oldest allowed published
reflex-components-coreinto a separate target dir, put it first onPYTHONPATH, and build a minimalrx.formapp withreflex.testing.AppHarnessProd.
- Lenguaje dominante
- Python
- Estrellas
- 29k
- Forks
- 1.8k
- Merge medio
- 3 d 5 h
- PR fusionados (30 d)
- 182
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de reflex-dev/reflex
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
reflex-dev/reflex#8026 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Kept env.py failure: the "move it aside" hint is dropped and a full traceback is logged when alembic.ini uses a relative script_locationPosiblemente ocupada @MaiAditya la tomó hace 13 días. Abiertobug release-train
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
reflex-dev/reflex#7856 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
0.9.12 changelog follow-ups: the #7132 "_get_was_touched" entry describes unreachable behaviour, #7115's hasattr/getattr change is undocumented, #7131's wordingQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertorelease-train
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
reflex-dev/reflex#7260 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
ClientStateVar: a component that mounts while the value is non-default never re-renders on the push back to the defaultQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
reflex-dev/reflex#6823 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation upstream
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
reflex-dev/reflex#6436 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de reflex-dev/reflex
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
superlinked/sie#1033 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
apache/ponymail-foal#365 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
NousResearch/hermes-labs-plugins#116 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
gcivil-nyu-org/team-3-fall26#192 ·
Los mantenedores suelen responder en 1 día
-
[Study plan] Study sessions can be rescheduled to any length (e.g. 72 hours) with no length checkAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
gcivil-nyu-org/team-2-fall26#159 ·
Los mantenedores suelen responder en 1 día