Skip to content

Commit 98e5bb3

Browse files
author
Kent C. Dodds
authored
fix: remove very old deprecated method
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 💚
1 parent c0a4eb2 commit 98e5bb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ export * from './pretty-dom'
1818
export {configure} from './config'
1919

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

0 commit comments

Comments
 (0)