undux icon indicating copy to clipboard operation
undux copied to clipboard

Make undux React 18 compatible

Open kassens opened this issue 2 years ago • 1 comments

Subscriptions that are torn down in componentDidUnmount need to be re-established in componentDidMount as both functions can be called multiple times in concurrent mode.

I was not sure how critical the GC related comments are. I don't know if that behavior can be kept when we need to re-establish the subscriptions.

kassens avatar Oct 09 '23 22:10 kassens

I've just updated all the dependencies to latest. Mind rebasing? Then tests should pass.

bcherny avatar Nov 20 '23 02:11 bcherny