-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intial props not working when rendering a hook (or I've done something wrong.) #1277
Comments
Hi @gbatterbee, is this still causing you issues? I want to confirm whether you are using |
@mpeyper Sorry, didn't get notified of your message for some reason. I've not tried recently. |
In that case, I’ll transfer your ticket to their repo ( @testing-library/react) instead as we’re actually a different library. I hope they can get to the bottom of it for you. |
We should change the naming to avoid confusion. testing-library/react-hooks passed |
Relevant code or config:
In the Reproduction details.
Taking the example from the docs, logged the initial props;
What you did:
Trying to use initialProps with the renderHook
What happened:
Initial props are not being passed.
No obvious error message, component just isn't receiving the props.
Reproduction:
Problem description:
Suggested solution:
The text was updated successfully, but these errors were encountered: