We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
useEffect
TransferFunction.jsx
Right now the first useEffect runs when initTransferFunction runs and the other runs when canvasPoints, pointHovering, pointDragging, etc change.
initTransferFunction
canvasPoints
pointHovering
pointDragging
When initTransferFunction changes (the model.transferFunction prop changes) it causes both useEffects to run at the same time which is causing errors
model.transferFunction
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now the first
useEffect
runs wheninitTransferFunction
runs and the other runs whencanvasPoints
,pointHovering
,pointDragging
, etc change.When
initTransferFunction
changes (themodel.transferFunction
prop changes) it causes both useEffects to run at the same time which is causing errorsThe text was updated successfully, but these errors were encountered: