Uniswap / widgets-demo

@uniswap/widgets demo
GNU General Public License v3.0
41 stars 66 forks source link

Widget slow to fetch prices #2

Open phoebenetwork opened 2 years ago

phoebenetwork commented 2 years ago

Hello, I have noticed that when the widget is fetching prices within my dapp, it takes about 5x as long to fetch the price through the widget than if I go directly to uniswap.org to get the price. I tested them side-by-side to make sure my WiFi wasn't causing the slow price quotes within my dapp.

Any advice on how I can optimize the performance?

Is the widget generally slower than Uniswap's website, or did I do something wrong in my implementation?