Repository navigation
feat(bindings): add intersection observer - #431
jonkwheeler wants to merge 63 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…rver-binding # Conflicts: # package.json # packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl
…rver-binding # Conflicts: # packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl
|
READY FOR REVIEW |
|
REVIEW WITHDRAWN Updating branch onto latest main (BEHIND); will re-signal when CLEAN + Bugbot clear. |
|
Currency re-pass complete: updated branch onto latest main via update-branch. Bugbot SUCCESS on head 0271002, no unresolved threads, merge state CLEAN. READY FOR REVIEW |
Co-authored-by: Cursor <[email protected]>
|
REVIEW WITHDRAWN Merging origin/main to clear DIRTY conflicts; prior ready signal is void until Bugbot and checklist pass on the new head. |
|
READY FOR REVIEW |
|
Branch is DIRTY against main; withdrawing ready signal while restoring merge currency. REVIEW WITHDRAWN |
Resolve user-apps-v1 corpus digest conflict after main moved. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit 4aadbb8. Configure here.
Hooks live in .tsrx and need compiler-assigned slots, not a manual skip. Co-authored-by: Cursor <[email protected]>
|
Merge currency restored; Bugbot clean on current head; no unresolved threads. READY FOR REVIEW |
|
Branch is DIRTY against main after the last ready signal. Withdrawing while restoring merge currency. REVIEW WITHDRAWN |
Resolve generated inventory and evals corpus conflicts via pnpm sync after main moved (octanejs#682 version packages). Co-authored-by: Cursor <[email protected]>
|
Branch is BEHIND main after the last ready signal. Withdrawing while updating branch onto latest main. REVIEW WITHDRAWN |
|
Currency pass complete: updated branch onto latest main via update-branch. Bugbot SUCCESS on head 8298b79, no unresolved threads, merge state CLEAN. READY FOR REVIEW |
|
Thank you for your contribution! This pull request was incorporated into |

Summary
Verification
Draft policy
Keep this PR in draft until all required GitHub checks are green and the branch is up to date with main.
Note
Medium Risk
Large new binding with documented behavioral divergences around unsupported IntersectionObserver and fallback edge cases; browser parity lanes add CI dependency on Playwright Chromium.
Overview
Introduces
@octanejs/intersection-observer, a new framework binding that ports react-intersection-observer 10.1.0 to Octane. The public surface matches upstream:useInView,useOnInView,InView, pooledobserve,defaultFallbackInView, and@octanejs/intersection-observer/test-utils, implemented with Octane hooks/components and framework-neutral observer pooling inobserve.ts.Parity and CI wire the package into the repo’s react-parity story: vendored upstream sources, one-for-one adapted Vitest suites, pristine React oracle runs (jsdom + Vitest browser/Playwright for
browser.test.tsx), type probes, andaudit/react-parity.jsonwith two documented runtime divergences (unsupported-falseonChangesuppression, unsupported IO errors in effects vs sync throw). CI installs Playwright Chromium once for binding browser lanes;bindings:typecheckand generated inventories/status docs count 61 bindings.Consumer notes (called out in status/UPSTREAM): TSRX
InViewrender props viachildren={...}; test utils require explicitsetupIntersectionMocking/resetIntersectionMocking; SSR usesinitialInViewuntil client observation starts in an effect.Reviewed by Cursor Bugbot for commit 8298b79. Bugbot is set up for automated code reviews on this repo. Configure here.