Skip to content

feat: introduce getQueriesForElement as alias for within. #457

Closed
@mdjastrzebski

Description

@mdjastrzebski

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions