Skip to content

Drop the retired recipes/ folder - #5

Merged
eakbulut merged 1 commit into
mainfrom
drop-recipes
Aug 15, 2026
Merged

Drop the retired recipes/ folder#5
eakbulut merged 1 commit into
mainfrom
drop-recipes

Conversation

@eakbulut

Copy link
Copy Markdown
Owner

recipes/react.js and recipes/vue.js were superseded by @foleyjs/react and @foleyjs/vue in 2.3.1. They are dead weight:

  • Not publishedpackage.json ships ["src", "README.md", "LICENSE"], so they never reach npm.
  • Unreferenced — no mention in README, agents.md, index.html, or any script. The only live reference is test/packages.test.mjs:95, which asserts the demo does not link them.
  • Actively rottingrecipes/react.js carries its own copy of useFoley with the pre-delegation "call bind() again" advice. Once bind() delegates, and hover fires on keyboard focus #3 lands, that's a second source of truth contradicting the real package.

Two file deletions, no code changes. 73 tests green.

CHANGELOG lines mentioning recipes/ are left alone — they're an accurate record of what happened, not stale docs.

@foleyjs/react and @foleyjs/vue replaced these copy-paste snippets in 2.3.1.
They are not published (package.json ships src, README, LICENSE), nothing
links them, and the only live reference is a test asserting the demo does
NOT link them.

They had started to rot: recipes/react.js carried its own useFoley with the
pre-delegation "call bind() again" advice, so keeping it means a second
source of truth drifting away from the real package.

CHANGELOG history mentioning recipes/ stays - it is an accurate record.
@eakbulut
eakbulut merged commit e111de5 into main Aug 15, 2026
2 checks passed
@eakbulut
eakbulut deleted the drop-recipes branch August 15, 2026 23:10
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