Skip to content

use rerender props in wrapper #1284

Open
@jjoselv

Description

@jjoselv

Describe the feature you'd like:

I would like to be able to test a re-render with a different wrapper.
The use case is to ensure that returned callbacks of the tested hook are changed when a new wrapper is used.

Mimic what was added in the testing-library/react-hooks-testing-library in testing-library/react-hooks-testing-library#381

Additionally, update the types of wrapper.

Suggested implementation:

I can't manage to modify pure.js to convey this.

Describe alternatives you've considered:


Teachability, Documentation, Adoption, Migration Strategy:


Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions