Closed TudorEsan closed 4 months ago
Hi @TudorEsan Can I be assigned this?
I removed the callbacks in v3 because they were causing too many issue. You should use useEffect
with the address/account in the dependency list to invoke a function when the value changes.
Closing because there is no way to fix it and in v3 won't be an issue.
when passing a callback function to the useAccount hook the app will continuously rerender.
this is the code that causes the bug:
I'm using "@starknet-react/core": "^2.8.3" and nextjs v14.1
the error i get: