Settings

Theme

OS JavaScript library to prefetch on mouse intent

foresightjs.com

1 points by BartSpaans 7 months ago · 1 comment

Reader

BartSpaansOP 7 months ago

Hi HN,

I recently dropped ForesightJS, an open source Javascript library where developers can prefetch content based on mouse intent instead of onClick or onHover like we are used to doing.

Since ForesightJS is framework agnostic, it can be integrated with any JavaScript framework. While I haven't yet built integrations for every framework, ready-to-use implementations for React Router and Next.js are already available.

I would love feedback on this project!

open-source repo https://github.com/spaansba/ForesightJS

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection