Repository navigation
feat(gsap): add Octane useGSAP binding - #423
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # package.json # packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl # website/public/llms.txt
leonidaz
marked this pull request as draft
July 30, 2026 20:18
Contributor
Author
|
Merged origin/main, resolved conflicts, and refreshed generated inventory/parity hashes. Bugbot is clean on the current head. READY FOR REVIEW |
Resolve DIRTY currency against main: take main's generated eval manifest digests and regenerate React parity lockfileSha256 values for the merged lockfile. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Contributor
Author
|
Currency repaired (merged origin/main; generated digest/lockfile integrity refreshed). No unresolved review threads; Cursor Bugbot completed on current head with no open findings; merge state CLEAN while remaining draft. READY FOR REVIEW |
Resolve inventory conflicts for the inertia landing on main: keep both gsap and inertia in bindings:typecheck, regenerate lockfile/sync outputs, and restore gsap in llms.txt. Co-authored-by: Cursor <[email protected]>
Contributor
Author
|
Currency fixed (merged origin/main). Checklist green again. READY FOR REVIEW |
leonidaz
marked this pull request as ready for review
August 9, 2026 17:03
jonkwheeler
marked this pull request as draft
August 9, 2026 17:03
leonidaz
marked this pull request as ready for review
August 9, 2026 17:06
jonkwheeler
marked this pull request as draft
August 9, 2026 17:17
Co-authored-by: Cursor <[email protected]>
leonidaz
marked this pull request as ready for review
August 9, 2026 17:21
jonkwheeler
marked this pull request as draft
August 9, 2026 17:28
leonidaz
marked this pull request as ready for review
August 9, 2026 17:29
jonkwheeler
marked this pull request as draft
August 9, 2026 17:29
Contributor
Author
|
READY FOR REVIEW |
leonidaz
marked this pull request as ready for review
August 9, 2026 17:33
jonkwheeler
marked this pull request as draft
August 9, 2026 17:33
leonidaz
marked this pull request as ready for review
August 9, 2026 17:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
useGSAPlifecycle contract without React.contextSafe, SSR suppression, and the upstream static registration API while keeping GSAP as an external peer.Why
GSAP itself is framework-neutral, so no prerequisite binding migration was needed. The missing layer was the React-specific lifecycle adapter: this package replaces that layer with compiler-selected Octane hook slots and leaves GSAP's runtime and licensing boundary unchanged.
Changes
@octanejs/gsap, public types, lifecycle and SSR coverage, compatibility status, licensing disclosure, and release metadata.@gsap/react->@octanejs/gsapin the bridge and generated package/binding inventories.contextSafeevent animations.Validation
pnpm --dir packages/gsap test(2 files, 4 tests)pnpm exec tsrx-tsc --noEmit -p packages/gsap/tsconfig.jsonpnpm --dir packages/octane-mcp-server test(2 files, 34 tests)pnpm --dir playground/octane buildpnpm changeset:checkpnpm typecheckpnpm testRisk / follow-ups
@gsap/react2.1.2useGSAPsurface rather than introducing additional animation abstractions.Post-Deploy Monitoring & Validation
@octanejs/gsapresolves withgsap@^3.12.5, the playground demo renders, and lifecycle/SSR tests remain green.@octanejs/gsap,useGSAP,Cannot find package 'gsap',context.revert, andFirst parameter must be a function or config object.Note
Low Risk
New isolated binding package with peer GSAP and test-backed parity; schema change only affects parity metadata for bindings without upstream test suites.
Overview
Adds a new
@octanejs/gsapframework binding that ports@gsap/[email protected]’suseGSAPAPI onto Octane: callback/config/dependency overloads, scoped GSAP contexts,contextSafe,revertOnUpdate,useGSAP.register, anduseGSAP.headless. Implementation uses Octane hooks and manual compiler hook slots (internal.ts); GSAP stays a peer dependency (MIT adapter, no GSAP redistribution).Evidence and tooling: lifecycle unit tests, SSR test (effects not run on server), differential parity vs published
@gsap/react, pristine/adapted type lanes,audit/react-parity.json, and Vitest projects (gsap,gsap-ssr,gsap-differential). Rootbindings:typecheckincludespackages/gsap.Repo wiring: changeset patch; generated docs/inventories bump binding count to 59;
@gsap/react→@octanejs/gsapin CLIoctane-data.json;hook-form/audit/react-parity.schema.jsonno longer requires anadapted-octanevitest lane when upstream runtime/types suites are absent (differential-only parity is enough).Reviewed by Cursor Bugbot for commit b14dabb. Bugbot is set up for automated code reviews on this repo. Configure here.