DEV Community

Discussion on: Learning React: APIs with Fetch & Axios

Collapse
 
karthick30 profile image
KaRthick

Nice one , I woulld like to add few more points !
axios is a beast , graphQL actions can be performed , axios.all helps you to resolve multiple api requests at a time . Interceptor is an other cool thing in axios , it's like a middleware for axios . You can use interceptors to transform the request before Axios sends it, or transform the response before Axios returns the response to your code.