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
[2.0 next, regressed after rc.13] Loading on latest remains in fallback after a shared source settles #3892
Use the source below with the selected Solid build (complete setup is linked above).
import{createMemo,createSignal,latest,Loading}from"solid-js";exportdefaultfunctionApp(){letfinish!: (value: number)=>void;constreplacement=newPromise<number>((resolve)=>{finish=resolve;});const[id,setId]=createSignal(0);constdata=createMemo(()=>(id() ? replacement : Promise.resolve(1)));functionload(){setId(1);// Replace the source shared by both boundaries.setTimeout(()=>finish(2),20);// Every async source is now settled.}return(<><buttonid="trigger"onClick={load}>
Load 2
</button><divid="answer"><Loadingon={latest(id)}fallback="A"><span>{data()}</span></Loading><Loadingfallback="B"><b>{data()}</b></Loading></div></>);// Wait for 11, then click: it stays A2 rather than becoming 22.}
Paste into a Solid 2 playground. Wait for 11, then click Load 2 and wait.
Expected behavior
Expected: Both boundaries display the final value: 22. Actual: The first boundary keeps its fallback: A2.
Platform
Solid: solid-js / @solidjs/web next at 3086f1b77cd7b0431d3a7f768c2984c335758633; comparison 2.0.0-rc.13. Signals, compiler and diagnostics match the selected Solid build.
OS: macOS 26.6.2 (25G83); browser cases: system Google Chrome 155.0.8059.40. Server-only/type checks run in Bun 1.4.2.
Builds/comparison: development and production fail. rc.13 passes in both builds.
Additional context
Both Loading boundaries read the same settled source, so both should leave their fallback without another user update.
Copy the standalone files into a fresh Bun project. The displayed snippet is executed by snippet.test.ts. The original automated case is also retained.
bun init -y
bun add solid-js@2.0.0-rc.13 @solidjs/web@2.0.0-rc.13 @solidjs/signals@2.0.0-rc.13 @solidjs/compiler@2.0.0-rc.13 @solidjs/diagnostics@2.0.0-rc.13
bun add -d playwright
bun run link-head.ts /absolute/path/to/built/solid
BUILD_MODE=development bun test ./snippet.test.ts
The five linked packages must come from the same built HEAD checkout. Omitting the link step selects the rc.13 comparison. Chrome runs use the system installation.
Activity
fix(signals): wake a left lane slot from the lane seam (#3892)
size: record the measured caps for the loading wake (#3892)
fix(signals): Loading on latest leaves fallback after the shared sour…
ryansolid commentedon Oct 9, 2026
fix(signals): isPending(s) settles after an action when s is also wri…
fix(signals): effects a guess mounts honor defer and run once per wri…