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
@effect/atom-solid: RegistryProvider hardcodes defaultIdleTTL ?? 400, diverging from @effect/atom-react and making the TTL impossible to disable #7527
Because the fallback is applied with ??, the only way to reach "no TTL" is defaultIdleTTL={0},
which is a different code path from undefined (and currently triggers TimeoutNaNWarning: NaN is not a number from core). There is no way to express "behave like the
React binding's default".
What is the expected behavior?
The two bindings should have the same default registry behaviour, and defaultIdleTTL should be
fully caller-controlled — including being left undefined.
What do you see instead?
Identical atom graphs behave differently under the two bindings purely because of this line.
With a stream-backed atom consumed via a derived atom (see companion core issue #7526), the hardcoded
400ms TTL means the same code leaks under Solid but not under React's RegistryProvider:
SOLID via derived atom, stock LEAK (finalizer never runs)
SOLID via derived atom, defaultIdleTTL=0 CLEAN
REACT via derived atom, RegistryProvider CLEAN
REACT via derived atom, default registry LEAK (that registry also sets 400)
Removing the fallback makes the Solid binding clean at every stream rate tested (50/100/300/2000ms):
The underlying disposal bug is in core and is reported separately (#7526) — this issue is only about the
unexpected divergence between the two bindings, which turns a core edge case into a
framework-dependent behavioral difference and removes the user's ability to configure around it.
changed the title [-]`@effect/atom-solid`: `RegistryProvider` hardcodes `defaultIdleTTL ?? 400`, diverging from `@effect/atom-react` and making the TTL impossible to disable[/-][+]`@effect/atom-solid`: RegistryProvider hardcodes `defaultIdleTTL ?? 400`, diverging from `@effect/atom-react` and making the TTL impossible to disable[/+]on Aug 30, 2026
Activity
[-]`@effect/atom-solid`: `RegistryProvider` hardcodes `defaultIdleTTL ?? 400`, diverging from `@effect/atom-react` and making the TTL impossible to disable[/-][+]`@effect/atom-solid`: RegistryProvider hardcodes `defaultIdleTTL ?? 400`, diverging from `@effect/atom-react` and making the TTL impossible to disable[/+]