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

example: prevent infinite use effect loop #211

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

mschristensen
Copy link
Collaborator

Adds the missing dependency array to the useEffect in the Project to avoid an infinite loop.

Copy link

vercel bot commented Jun 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
models ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 9:12am

Adds the missing dependency array to the useEffect in the Project to
avoid an infinite loop.
@mschristensen mschristensen force-pushed the bugfix/DTP-818-example-use-effect-loop branch from 58bcba2 to 3cdd7e2 Compare June 25, 2024 09:11
@mschristensen mschristensen merged commit d81b8d0 into main Jun 25, 2024
8 checks passed
@mschristensen mschristensen deleted the bugfix/DTP-818-example-use-effect-loop branch June 25, 2024 09:13
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.

3 participants