Skip to content
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

Fix issue #317 #319

Merged
Merged

Conversation

marcosvega91
Copy link
Contributor

After the first render the node are marked with KEY property.
Calling the rerender function of RTL the nodes remain marked and the print function will never call again.

@quantizor
Copy link
Contributor

@marcosvega91 thanks for PRing, could you rebase against latest changes?

@marcosvega91
Copy link
Contributor Author

I have rebased the branch :)

@9still
Copy link

9still commented Apr 21, 2021

@probablyup is there anything that can be done to speed up getting this merged? the issue is pretty annoying, because it effectively renders repeated snapshotting of the same nodes useless...

@coolgod
Copy link

coolgod commented Nov 9, 2021

Kindly ask if this PR can be merged?

@quantizor
Copy link
Contributor

It has merge conflicts at the moment

@9still
Copy link

9still commented Nov 17, 2021

@marcosvega91 any chance you could rebase again? Or would you prefer somebody else take over the PR?

After the first render the node are marked with KEY property and calling rerender function of react-testing-library the test function will return false preventing the print to work as expected
@marcosvega91
Copy link
Contributor Author

I have rebased the branch

Copy link
Contributor

@quantizor quantizor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you!

@quantizor quantizor merged commit 86d0ebf into styled-components:main Nov 17, 2021
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.

4 participants