Skip to content

feat: add rerender as an alias for update #149

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

Merged
merged 3 commits into from
Apr 14, 2019
Merged

feat: add rerender as an alias for update #149

merged 3 commits into from
Apr 14, 2019

Conversation

thymikee
Copy link
Member

@thymikee thymikee commented Apr 14, 2019

Summary

Users of react-testing-library use rerender wording instead of update. Let's make it easier for them by aliasing it.
See: https://testing-library.com/docs/react-testing-library/api#rerender

Test plan

Added cases for JS tests and TS typings

@thymikee thymikee requested a review from Esemesek April 14, 2019 07:43
@Esemesek Esemesek merged commit 439db6c into master Apr 14, 2019
@thymikee thymikee deleted the feat/rerender branch April 14, 2019 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants