Skip to content

Conversation

@leMaik
Copy link
Member

@leMaik leMaik commented Sep 24, 2024

This adds proper mounting/unmounting behavior to useEffect, ie. cancels the request and stops changing any state (which would cause a warning in React). It also fixes useChangelogs not reloading when the config is changed.

Please don't squash but rebase and merge 🙏

@leMaik leMaik force-pushed the fix/stale-useEffect branch from 864b8cf to fa8fc99 Compare September 25, 2024 13:09
@saschb2b saschb2b changed the title Fix/stale use effect fix: stale use effect Sep 27, 2024
@saschb2b saschb2b merged commit 12a3074 into master Sep 27, 2024
2 checks passed
@saschb2b saschb2b deleted the fix/stale-useEffect branch September 27, 2024 09:16
@github-actions
Copy link

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants