Skip to content

chore: remove unused HydrateHooks callbacks - #41

Merged
dantelex merged 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-hydratehooks-callbacks-9839fd
Jul 25, 2026
Merged

chore: remove unused HydrateHooks callbacks#41
dantelex merged 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-hydratehooks-callbacks-9839fd

Conversation

@detail-app

@detail-app detail-app Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Remove four optional HydrateHooks callbacks that had no production
callers: onPlaceholderFound, onCloned, onCheckoutFailed, and onUpdated.
Only onCheckedOut is supplied by a production caller
(src/commands/hydrate.ts); the other four were declared and invoked
internally but never wired up by any caller across the codebase or in
git history.

Also drops the now-unused type PlaceholderMeta import (its only
consumer in this file was the removed onPlaceholderFound signature)
and updates the test that exercised onCheckoutFailed to rely on the
hydrated-checkout-failed outcome it already asserted on.

History

  • Last materially changed June 2026 (d377d95)

Dead Code PRs can be configured here.

@detail-app
detail-app Bot requested a review from dantelex July 25, 2026 15:40
@dantelex
dantelex merged commit 4e814f4 into main Jul 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant