useApi hook spamming API calls
The useApi
hook is spamming API calls for info and userinfo. This is because the hook does not store a global instance of the API/info/user (it used to) but instead each time the hook is used for the first time by a component, the API calls are made. Because useApi is used by dozens of components. this causes a lot of unnecessary API traffic on load.