rcTable Rerenders useEffect
hi guys, in these couple of days i tried to solve this problem of rerenders in my code, i don't understand the reason for it..., i tried to check if there was like a return statement after the hook or a rule that breaks the hook rules in every component logged in the error but nothing...
14 Replies
Again show code when asking for help
Make a gist for the file
i found it but idk how to resolve it the usePrice are the problem, i tried to put it outsides but it doesn't work @barry
this gives the error
@barry
Yeah donβt just tag me
ok sorry
Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
i was using a custom hook inside the code
just install the extentions 'sonarlint' and it will the you the error on the code
the usePrice one
@Spooky
Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
this is the extension
Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
yep, much better for performance