React - converting hook to not break rules of hook (calling useTransform inside a loop)
#1844
Unanswered
szilardlazarsonos
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody!
I have the following hook, but it's calling the
useTransformhook inside a loop. Is there any way to refactor it without breaking the rules-of-hook? (using a non-hook (transform?) function or IDK)Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions