Skip to content

Commit

Permalink
fix: remove very old deprecated method
Browse files Browse the repository at this point in the history
This should have been in the major version bump but wasn't.

Nobody should be using this anyway so I'm just pushing this in directly.

Sorry if this broke you. I'll send you a gif if you ask me to 💚
  • Loading branch information
Kent C. Dodds authored Mar 12, 2020
1 parent c0a4eb2 commit 98e5bb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export * from './pretty-dom'
export {configure} from './config'

export {
// The original name of bindElementToQueries was weird
// The new name is better. Remove this in the next major version bump.
getQueriesForElement as bindElementToQueries,
// "within" reads better in user-code
// "getQueriesForElement" reads better in library code
// so we have both
getQueriesForElement as within,
// export query utils under a namespace for convenience:
queries,
Expand Down

0 comments on commit 98e5bb3

Please sign in to comment.