Repository navigation
feat(bindings): port react-transition-group - #487
jonkwheeler wants to merge 67 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Re-check live children after onExited so a synchronous re-add is not undone by handleExited's mapping delete. Co-authored-by: Cursor <[email protected]>
|
Addressed Cursor Bugbot finding on TransitionGroup exit cleanup (sync onExited re-add) and pushed a regression test. |
|
READY FOR REVIEW |
|
REVIEW WITHDRAWN |
|
READY FOR REVIEW |
|
REVIEW WITHDRAWN Withdrawing ready signal pending package rename per maintainer feedback: drop redundant |
Drop the redundant react prefix from the Octane package id and folder so the published binding is @octanejs/transition-group. Keep upstream react-transition-group names for the npm/React library and parity harness scripts. Co-authored-by: Cursor <[email protected]>
|
Renamed Checklist:
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 the ready checklist pass on the new head. |
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
|
READY FOR REVIEW |
|
REVIEW WITHDRAWN Merging origin/main to clear DIRTY conflicts; prior ready signal is void until Bugbot and the ready checklist pass on the new head. |
Co-authored-by: Cursor <[email protected]>
|
Merged origin/main (resolved generated evals manifest hash drift by taking main). Checklist:
READY FOR REVIEW |
|
REVIEW WITHDRAWN Merging origin/main to clear DIRTY conflicts; prior ready signal is void until Bugbot and the ready checklist pass on the new head. |
Resolve docs/packages.md via pnpm sync after Version Packages (octanejs#682) landed on main. Co-authored-by: Cursor <[email protected]>
|
Merged origin/main (Version Packages #682; resolved docs/packages.md via pnpm sync). Checklist:
READY FOR REVIEW |
|
REVIEW WITHDRAWN Updating branch onto latest origin/main; prior ready signal is void until Bugbot and the ready checklist pass on the new head. |
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 716783b. Configure here.
Deferred onEntering/onExiting, skip-path completions, and addEndListener now read latestProps like upstream's setState callbacks instead of closing over performEnter/performExit props. Co-authored-by: Cursor <[email protected]>
|
Addressed Bugbot finding: deferred enter/exit lifecycle callbacks and addEndListener now read |
|
Updated branch onto latest origin/main via Checklist:
READY FOR REVIEW |
|
Thank you for your contribution! This pull request was incorporated into |

Summary
Octane applications can now migrate code built on
[email protected]without replacing its transition model. The binding preserves the package's public component and subpath surface, including lifecycle callback order, CSS phase classes, keyed group retention, switch/replace sequencing, and server-rendered initial state.The port keeps the pinned BSD-3-Clause upstream source, tests, and license as checksum-verified audit evidence. Exact-identity Octane parity lanes exercise every authored DOM/export and SSR test while remaining explicit that the complete upstream suite has not yet been adapted test-for-test.
Validation
pnpm format:checkpnpm typecheckpnpm testRisk / follow-ups
findDOMNode; DOM-aware transitions requirenodeRef.TransitionGroupcollections must be passed as inspectable descriptor values such aschildren={items.map(...)}.recorded-unverified.Provenance
agent-authored)Note
Medium Risk
New public binding with timer/effect ordering and keyed group semantics that must match upstream; mistakes affect animation orchestration across migrated apps, though coverage is heavy and divergences are documented.
Overview
Introduces
@octanejs/transition-group, a new Octane binding aimed at drop-in replacement of[email protected]. It shipsTransition,CSSTransition,TransitionGroup,SwitchTransition,ReplaceTransition, andconfigon the root and documented subpath exports, implemented in TSRX withnodeRef-based DOM access (nofindDOMNode).Evidence and integration: byte-pinned
upstream/sources and tests, DefinitelyTyped type-suite mirrors, pristine Jest oracle, adapted Vitest/SSR lanes, and react-parity audit wiring. Generated binding/package docs, CLIoctane-data, and MCP import bridge now mapreact-transition-group→@octanejs/transition-group..prettierignoreexcludesupstream-types/.Lifecycle fixes (also noted in changesets):
Transitioncommits ENTERING/EXITING beforeonEntering/onExitingso status is observable;TransitionGroupkeeps survivors whenonExitedsynchronously re-adds the same key; exit/enter flags refresh when a child starts leaving mid-list..changesetpatch entries and widespreadlockfileSha256bumps reflect the new workspace package and lockfile refresh.Reviewed by Cursor Bugbot for commit 863a003. Bugbot is set up for automated code reviews on this repo. Configure here.