ta
TanStack
GitHub
router
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
router
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
solid-link-idle-preload-listeners
1e973a0e fix(solid-router): don't install intent-preload listeners when preloading is off useLinkProps handed out onFocus/onBlur/onMouseEnter/onMouseLeave (plus the mouseover/mouseout/touchstart trio) unconditionally, with the `preload() !== 'intent'` check inside each handler. Solid does not delegate mouseenter, mouseleave, focus or blur, so every anchor installed four real listeners whose only job was to bail out — four per row on list views. Resolve those props through getters instead: with intent preloading off the property yields the consumer's own handler (or undefined, which spread()/assign() treats as removal), so nothing is attached. The getters stay reactive, so switching preload back to 'intent' re-runs the consuming spread and attaches the composed handler. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
by russelgal
r
Previous
Next