Skip to content

Conversation

mumenthalers
Copy link

@mumenthalers mumenthalers commented Jul 12, 2024

closes #462

I had to move the renderFixture function up the order, as it's necessary to keep track of the subscribedOutputs in order to not unnecessarily unsubscribe+resubscribe unchanged listeners when rerendering.

Copy link
Member

@timdeschryver timdeschryver left a comment

Choose a reason for hiding this comment

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

Great work @mumenthalers !
I left some thoughts, I'm looking forward for your feedback.

cc @lacolaco

@mumenthalers mumenthalers changed the title new option subscribeToOutputs for render and rerender new option on for render and rerender Jul 17, 2024
Copy link
Member

@timdeschryver timdeschryver left a comment

Choose a reason for hiding this comment

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

Thanks for your work on this @mumenthalers !

@timdeschryver timdeschryver merged commit caad0c2 into testing-library:main Jul 20, 2024
@timdeschryver
Copy link
Member

@all-contributors please add @mumenthalers for code, tests

Copy link
Contributor

@timdeschryver

I've put up a pull request to add @mumenthalers! 🎉

This was referenced Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants