Describe the bug
Two paragraphs read latest(count), one inside Show and one outside. While an action is pending, Outside becomes 1 but the still-visible Inside remains 0.
Your Example Website or App
https://s.olid.uk/id/r5C3uxJ0RRCPg0eB-PXsWA
Steps to Reproduce the Bug or Issue
- Click Run.
- Outside becomes 1 while Inside remains visible showing 0.
- After one second, Inside disappears.
Expected behavior
Both paragraphs should show the same latest value while they are visible.
Screenshots or Videos
No response
Platform
Verified with compiled JSX in jsdom on Node.js 24.18.0, in development and production builds.
Additional context
Reproduced on next at a0d6dd2, after #3439 merged. Also reproduces on #3337 at 20f3143.
Possibly related to #3438, but replacing Show with {count() === 0 ? <p>Inside: {latest(count)}</p> : null} avoids this mismatch. Keeping Show mounted with when={true} also makes both values update correctly.
Describe the bug
Two paragraphs read
latest(count), one inside Show and one outside. While an action is pending, Outside becomes 1 but the still-visible Inside remains 0.Your Example Website or App
https://s.olid.uk/id/r5C3uxJ0RRCPg0eB-PXsWA
Steps to Reproduce the Bug or Issue
Expected behavior
Both paragraphs should show the same latest value while they are visible.
Screenshots or Videos
No response
Platform
Verified with compiled JSX in jsdom on Node.js 24.18.0, in development and production builds.
Additional context
Reproduced on next at a0d6dd2, after #3439 merged. Also reproduces on #3337 at 20f3143.
Possibly related to #3438, but replacing Show with
{count() === 0 ? <p>Inside: {latest(count)}</p> : null}avoids this mismatch. Keeping Show mounted withwhen={true}also makes both values update correctly.