Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[renderHook] Passing rerender props to the wrapper #1514

Closed
@udeyrishi

Description

Describe the Feature

I noticed this change in the legacy react-hooks-testing-library version of renderHook, whereby the props sent to the rerender function were also sent to any provided custom wrapper. However, I'm noticing that the @testing-library/react-native version of the renderHook util does not have this feature. Not sure if this is a bug or a feature request, so decided to just log this to get the conversation going.

Possible Implementations

Similar to testing-library/react-hooks-testing-library#381

Related Issues

testing-library/react-hooks-testing-library#322

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /