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: add condition on useEffects to block infinity loop #117

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

Conversation

Valimp
Copy link
Collaborator

@Valimp Valimp commented Oct 28, 2024

What

We have an infinity loop on development mode
useEffects was updated every time the userState changed

Solution

don't check useEffects if you are in devMode

@Valimp
Copy link
Collaborator Author

Valimp commented Oct 28, 2024

Have to test it on preprod

@raphael0202
Copy link
Contributor

You can test it on staging by pushing a new branch deploy-*.
Example: deploy-117 here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

2 participants