Nuxt useFetch Addons: Stop Forking the Composable for Polling and Auth
Every Nuxt app I've worked on eventually grows a useApi wrapper. It starts innocently: a base URL and an auth header. Then someone needs polling on the dashboard, so a poll option gets bolted on. Then retries. Then "refresh when…