You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
https://github.com/Uniswap/uniswap-org/blob/bfa2f0a0a6769385a6e577ab7eeeb3c2f6d29983/src/components/ticker.js#L5
heya!
noticed you're using Apollo here for the ticker, that's a MASSIVE dep to have just to fetch data from a graphql api. Unless you plan to use it more on the org website I suggest to rework to use https://www.github.com/prisma/graphql-request and maybe https://github.com/zeit/swr for fetching new data polling.
it should shave a good amount of the bundle and speed is where its at these days!
lemme know you want some help!
and then you don't need to wrap anything or use hocs for the data fetching either!
The text was updated successfully, but these errors were encountered: