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

Infinite loop in every Plot #387

Closed
wadjih-bencheikh18 opened this issue Apr 8, 2022 · 0 comments · Fixed by #388
Closed

Infinite loop in every Plot #387

wadjih-bencheikh18 opened this issue Apr 8, 2022 · 0 comments · Fixed by #388

Comments

@wadjih-bencheikh18
Copy link
Member

i found that there's an infinite loop in every plot

after searching i found that the problem is in this useMemo

const context = useMemo(() => {

after checking hook dependency, the problem was with state.axes

when i removed state.axes dependency from the hook everything is running perfectly (even NMR example)

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 a pull request may close this issue.

1 participant