fix: re-render while autoload#92
Conversation
|
Hi @gasolin, thanks for your contribution. Could you add more details to the problem targeted by this change? When does the UI re-render? A GIF may be helpful. |
|
@PaulRBerg sorry for the inconvinient. During test project development I found when It might be related to the |
|
I understand, but I can't reproduce this. Could you maybe upload a GIF that shows how the re-render occurs on your computer? |
|
UI doesn't change, but your CPU/FAN will roar when you open the page longer |
|
My CPU doesn't roar, but I have a high-end spec so maybe that's the reason. @TomAFrench can you reproduce this? Sorry to be a pain in the neck @gasolin, but I would not introduce more complexity in the template if the change is a no-op. |
|
Could definitely reproduce this as this caused me exceed my Metamask's Infura quota :D Env :
Steps to reproduce :
@gasolin Thanks. That solved the issue for me. Come back to me for questions / if you can't reproduce. |
* fix: re-render while autoload * feat: update comment in useWeb3Modal.js Co-authored-by: Paul Razvan Berg <hello@paulrberg.com>
fix the rerender issue while autoload === true