Closed
Description
Describe the Feature
TL/RN v6 has provided getQueriesForElement
for scoping queries to given element & it's children. RNTL v2 had a similar within
function. Both of these were modeled on similar RTLs helper. In RTL both names are available (as alias) to provide the same function.
Possible Implementations
Provide getQueriesForElement
as alias to within
.
Benefits
- compatibility with RTL
- easier migration path for TL/RN v6 users.
Related Issues
Migration to v7, #456