Advertisement ยท 728 ร— 90

Posts by Bart Spaans

Thanks!

8 months ago 2 0 0 0

Gratz!

8 months ago 1 0 0 0

Half of the youtubers I used to watch now only spit out AI videos.

8 months ago 2 0 0 0
Post image

๐Ÿ˜ณ๐Ÿ˜ณ๐Ÿ˜ณ

8 months ago 1 0 0 1
Preview
Release V3.3.0 - Full Touch Device Support! ๐Ÿ“ฑ ยท spaansba/ForesightJS V3.3.0 js.foresight This version introduces first-party touch device support for mobile and pen interactions. While desktop systems use multiple concurrent prediction strategies (mouse trajectory, ...

Full mobile/pen support for ForesightJS is live in V3.3.0!

github.com/spaansba/For...

8 months ago 1 0 0 0
Post image

Crazy results for foresight.com

8 months ago 1 0 0 0

Opened a discussion space for ForesightJS and the devtools. Feel free to share how you are using it or ask questions!

github.com/spaansba/foresightjs/discussions

8 months ago 0 0 0 0

Mobile support for js.foresight beta is live ๐Ÿ˜. Let me know what you think and if you run into any bugs.

It has 2 options "viewport" (default) and "onTouchStart". Which can be set by using the touchDeviceStrategy prop during initialization.

8 months ago 0 0 0 0

b. In a it feels like the cards stacked on top of eachother are grouped together even though they are not

8 months ago 0 0 0 0
Advertisement

Gratz!!

9 months ago 1 0 0 0
Video

Never miss when Claude Code is done running

9 months ago 0 0 0 0
Post image

1 in 20,229 ๐Ÿ˜

9 months ago 1 0 0 0
ForesightJS ForesightJS is a lightweight JavaScript library that predicts user intent based on mouse movements and keyboard navigation, enabling optimal prefetching timing and improved performance.

See for yourself!

foresightjs.com

9 months ago 0 0 0 0
Post image

Released V3.1.1 of Foresight with new devtools written in Lit

9 months ago 0 0 1 0

Nothing special but the one I had the most issue with was checking if a line was intersecting with a DOMRect.

9 months ago 1 0 0 0

Adding border radius to everything is the โ€” of UI.

9 months ago 0 0 0 0

Tried @lit.dev for the Foresight devtools and its so much fun to work with.

Probably will make a full switch to it as the current control panel is getting hard to maintain without a framework.

9 months ago 1 0 0 0
Advertisement

This would have been a huge help! I recently had to create a bunch of functions regarding the DOMRect, and I'm not a geometry expert, so this would have been very useful.

9 months ago 1 0 1 0

Ah thats great! Good job

9 months ago 1 0 0 0

Is this defined per event log or will it show on every sequential event of the same type?

9 months ago 1 0 1 0

thanks for sharing, had no idea!

9 months ago 1 0 0 0

Bundle Results of ForesightJS 3.0 > 2.2

- Bundle size: 77.6kB โ†’ 25kB (-68%)
- Gzipped: 18.6kB โ†’ 7.7kB (-58%)
- Download time: 372ms โ†’ 155ms (-58%)
- Dependencies: 3 โ†’ 2

9 months ago 1 0 0 0
Events | ForesightJS Documentation on how to use the built-in js.foresight events

Just released V3.0.0 of ForesightJS! By decoupling the debugger into a new package (js.foresight-devtools) the core package is now 68% smaller (7.7kb minified + gzipped) ๐Ÿ˜.

This is done by introducing events, which can now also be used by users for telemtry etc.

foresightjs.com/docs/getting...

9 months ago 0 0 0 0

I'm trying to decouple the Foresight Debugger completely from the js.foresight package. However, I don't know the right approach to take for this. Is there anyone with experience doing that is open for a chat?

9 months ago 0 0 0 0
ForesightJS ForesightJS is a lightweight JavaScript library that predicts user intent based on mouse movements and keyboard navigation, enabling optimal prefetching timing and improved performance.

Completely redesigned the docs of foresightjs.com

Feedback is appreciated!

9 months ago 0 0 0 0
Advertisement
useForesight | ForesightJS React hook for ForesightJS integration

Official React hook for ForesightJS is live: foresightjs.com/docs/integra...

9 months ago 1 0 0 0

What is the best app for getting an overview of all your finances? Love something I can host myself if possible

10 months ago 0 0 0 0
Post image

This Week In React 238

Read and subscribe here!
thisweekinreact.com/newsletter/238

โš›๏ธ
- React Router
- RSC
- shadcn/ui
- TanStack Start
- React Aria
- ForesightJS
- Cosmos
๐Ÿ“ฑ
- iOS 26
- JSI setRuntimeData
- Windows
- Nitro
- WebView
- Bottom Tabs
- PencilKit

10 months ago 19 4 0 0
https://nextjs.org/docs/app/guides/prefetching

https://nextjs.org/docs/app/guides/prefetching

No way, the prefetching docs of @nextjs.org refer to ForesightJS ๐Ÿ˜ณ.

10 months ago 3 0 0 0
Preview
Release V2.1 ~ Performance Gains and better debugger! ยท spaansba/ForesightJS Features Added onAnyCallbackFired to the ForesightManager, this function will run when ANY callback function is hit. Read More Added new debuggerSettings.showNameTags to show or hide name tags on ...

Just shipped ForesightJS v2.1 performance update.

Key changes:
- Replaced ResizeObserver + scroll/resize events with PositionObserver for async bounds calculation
- Added IntersectionObserver to only track elements in the viewport

Check out the changelog: github.com/spaansba/For...

10 months ago 0 0 0 0