▲ Axios interceptor that unpacks HTTP responses so that you can focus on actual server data at github.com▼4 up and 0 down, posted by theanubhav 2052 days ago 2 comments
jaleksic 2052 days ago. link 2 points ▲ ▼Remember you can do: const { data } = await axios.get('users') // Also: const { data: users } to rename on the fly