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] Replacement derived-store rejection never reaches Errored #3887
Use the source below with the selected Solid build (complete setup is linked above).
import{createSignal,createStore,Errored,Loading}from"solid-js";exportdefaultfunctionApp(){letreject!: (error: Error)=>void;constreplacement=newPromise<{value: number}>((_,fail)=>{reject=fail;});const[id,setId]=createSignal(0);const[store]=createStore(()=>(id() ? replacement : {value: 0}),{value: 0});functionreplace(){setId(1);// Start a replacement request.setTimeout(()=>reject(newError("replacement failed")),20);}return(<><buttonid="trigger"onClick={replace}>
Replace and reject
</button><Erroredfallback={()=><bid="answer">error</b>}><Loadingfallback={<i>pending</i>}><spanid="answer">{store.value}</span></Loading></Errored></>);// After the click: still 0, instead of the error fallback.}
Paste this App into a Solid 2 playground. Click Replace and reject, then wait.
Expected behavior
Expected: The error fallback displays error. Actual: The previous value 0 remains visible.
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
The surrounding Errored boundary should handle rejection of the data it displays; keeping the old successful value hides the failed request.
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
report: record the 15 filed runtime issues (solidjs/solid#3887–#3901)
fix(signals): a failed derived-store refetch reaches Errored (#3887) (#…
ryansolid commentedon Oct 8, 2026