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: infinite loop if effect schedules an update and then throws #469

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cristinecula
Copy link
Contributor

Update lastValues before running the callback.

Fixes #468

@changeset-bot
Copy link

changeset-bot bot commented Mar 22, 2023

🦋 Changeset detected

Latest commit: 761096f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
haunted Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Mar 22, 2023

Deploy Preview for hauntedhooks ready!

Name Link
🔨 Latest commit 761096f
🔍 Latest deploy log https://app.netlify.com/sites/hauntedhooks/deploys/641ae94ea98698000818518d
😎 Deploy Preview https://deploy-preview-469--hauntedhooks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Update lastValues before running the callback.

Fixes matthewp#468
@basilgood
Copy link

I just tested this PR and it works very well. It's clean and nice implemented.
Why it's not merged.

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.

Infinite loop if effect schedules an update and then throws
2 participants