You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Large State trees overflow React mutation traversal and render a blank page #7429
A production app with 1,500 dormant rx.State subclasses builds and serves HTTP 200 on published Reflex 0.10.0a1, but its browser renders only the Reflex badge and raises RangeError: Maximum call stack size exceeded. Development mode fails during React mutation-effect traversal as well.
This is a confirmed alpha limitation, not a proven regression. Both published 0.9.12 and 0.10.0a1 pass the same browser flow at 500 and 1,000 extra States. At 1,500, the stable frontend exits with SIGILL during build/startup, preventing a valid stable browser comparison. The alpha's SSR succeeds; this is a separate client-rendering limit from the SSR change in #7369.
Reproduce
Use the unchanged alpha sample and exact published dependency graph. Copy the sample into a neutral directory and install the requirements in an isolated virtual environment, using PyPI packages only.
The sample creates dormant classes with one integer field:
Open a fresh browser tab at http://localhost:3133/articles/7?self=1.
Expected: Article 7 appears; Home navigation and Increment work.
Actual: badge-only blank page; JavaScript stack overflow. Captured document, JavaScript and CSS responses are HTTP 200.
Repeat with 500/1,000: navigation and counter events pass.
For a readable stack, repeat in dev mode with backend port 8133. The stack repeatedly traverses commitMutationEffectsOnFiber and recursivelyTraverseMutationEffects.
The generated client still nests SubstateProvider for every substate. A client render-depth limit is an inference from generated code and the observed stack; no framework/generated code was modified. No exact failure threshold or universal browser limit is claimed.
Activity
linear-code commentedon Oct 6, 2026
ENG-13071